#704EC2

Closest named color: Iris (#6258C4). oklch(52.1% 0.173 292.9), rgb(112, 78, 194).

Aa

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

About this color

#704EC2 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.173 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.030 away. White text reads best on it, at 5.90:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.173)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.55:1
White text5.90:1

Values

HEX#704EC2
RGBrgb(112, 78, 194)
HSLhsl(258, 49%, 53%)
OKLCHoklch(52.1% 0.173 292.9)

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 #704EC2 5.90:1 AA Lc -84.4 Fine for body text
Black text on #704EC2 3.55:1 AA large text Lc 24.9 Dividers and decoration only
#704EC2 text on white 5.90:1 AA Lc 79.1 Fine for body text
#704EC2 text on black 3.55:1 AA large text Lc -22.7 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 700.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #DAD4F6

    oklch(88.5% 0.047 293.5)

  4. Step 300

    300

    #C2B7F3

    oklch(80.9% 0.084 292.8)

  5. Step 400

    400

    #A48FEC

    oklch(70.6% 0.134 293)

  6. Step 500

    500

    #8F70E6

    oklch(63% 0.172 292.9)

  7. Step 600

    600

    #7B55D4

    oklch(55.6% 0.187 293.1)

  8. Step 700

    700 (this color)

    #704EC2

    oklch(52.1% 0.173 292.9)

  9. Step 800

    800

    #543995

    oklch(42.6% 0.144 292.8)

  10. Step 900

    900

    #453277

    oklch(37.6% 0.113 292.8)

  11. Step 950

    950

    #281E45

    oklch(26.9% 0.071 292.9)

Export this scale for Tailwind in the Tailwind colors tool

#704EC2 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)#0066C60.112
Deuteranopia (no green cones)#0762BF0.110
Tritanopia (no blue cones)#5A68800.140
Achromatopsia (no color)#6464640.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #704EC2

    #704EC2

    oklch(52.1% 0.173 292.9)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #704EC2

    #704EC2

    oklch(52.1% 0.173 292.9)

  • #3061CB

    #3061CB

    oklch(52% 0.173 263.1)

  • #963DA2

    #963DA2

    oklch(52.1% 0.174 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #704EC2

    #704EC2

    oklch(52.1% 0.173 292.9)

  • #876200

    #876200

    oklch(52.1% 0.107 82.7)

  • #04800B

    #04800B

    oklch(52.1% 0.173 142.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #704EC2

    #704EC2

    oklch(52.1% 0.173 292.9)

  • #A24F00

    #A24F00

    oklch(52.1% 0.132 53)

  • #007C64

    #007C64

    oklch(52.3% 0.1 172.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #704EC2

    #704EC2

    oklch(52.1% 0.173 292.9)

  • #B82F36

    #B82F36

    oklch(52.1% 0.173 23.1)

  • #6A6F00

    #6A6F00

    oklch(52% 0.116 112.9)

  • #007880

    #007880

    oklch(52.2% 0.089 203)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #704EC2 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.