#704CE4

Closest named color: Light Indigo (#6D5ACF). oklch(54.4% 0.218 287.8), rgb(112, 76, 228).

Aa

White text reads best on this color (5.46:1).

About this color

#704CE4 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.218 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.044 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.218)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.84:1
White text5.46:1

Values

HEX#704CE4
RGBrgb(112, 76, 228)
HSLhsl(254, 74%, 60%)
OKLCHoklch(54.4% 0.218 287.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #704CE4 5.46:1 AA Lc -82.0 Fine for body text
Black text on #704CE4 3.84:1 AA large text Lc 27.4 Dividers and decoration only
#704CE4 text on white 5.46:1 AA Lc 76.6 Fine for body text
#704CE4 text on black 3.84:1 AA large text Lc -25.1 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D6D4FC

    oklch(88.4% 0.055 287.5)

  4. Step 300

    300

    #BDB7FD

    oklch(80.9% 0.098 287.9)

  5. Step 400

    400

    #9D8EFC

    oklch(70.7% 0.157 287.9)

  6. Step 500

    500

    #876DF9

    oklch(63% 0.2 287.8)

  7. Step 600

    600 (this color)

    #704CE4

    oklch(54.4% 0.218 287.8)

  8. Step 700

    700

    #613FCA

    oklch(49.1% 0.203 287.7)

  9. Step 800

    800

    #4F35A3

    oklch(42.6% 0.168 288)

  10. Step 900

    900

    #413081

    oklch(37.6% 0.13 288.1)

  11. Step 950

    950

    #261D4C

    oklch(27% 0.083 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#704CE4 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#006DE90.111
Deuteranopia (no green cones)#0065E10.107
Tritanopia (no blue cones)#4572920.177
Achromatopsia (no color)#6969690.219

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #704CE4

    #704CE4

    oklch(54.4% 0.218 287.8)

  • #777400

    #777400

    oklch(54.4% 0.117 107.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #704CE4

    #704CE4

    oklch(54.4% 0.218 287.8)

  • #0069E1

    #0069E1

    oklch(54.5% 0.2 257.8)

  • #A133C0

    #A133C0

    oklch(54.4% 0.218 317.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #704CE4

    #704CE4

    oklch(54.4% 0.218 287.8)

  • #946600

    #946600

    oklch(54.5% 0.114 77.8)

  • #368500

    #368500

    oklch(54.5% 0.168 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #704CE4

    #704CE4

    oklch(54.4% 0.218 287.8)

  • #B24E00

    #B24E00

    oklch(54.4% 0.149 47.8)

  • #008463

    #008463

    oklch(54.5% 0.111 167.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #704CE4

    #704CE4

    oklch(54.4% 0.218 287.8)

  • #D0013D

    #D0013D

    oklch(54.4% 0.218 17.7)

  • #777400

    #777400

    oklch(54.4% 0.117 107.9)

  • #008083

    #008083

    oklch(54.4% 0.093 197.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #704CE4, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #704CE4 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.