#904ECE

Closest named color: Purpley (#8756E4). oklch(56.3% 0.192 304.7), rgb(144, 78, 206).

Aa

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

About this color

#904ECE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.192 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.039 away. White text reads best on it, at 5.03:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.192)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.16:1
White text5.03:1

Values

HEX#904ECE
RGBrgb(144, 78, 206)
HSLhsl(271, 57%, 56%)
OKLCHoklch(56.3% 0.192 304.7)

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 #904ECE 5.03:1 AA Lc -79.7 Fine for body text
Black text on #904ECE 4.16:1 AA large text Lc 29.8 Dividers and decoration only
#904ECE text on white 5.03:1 AA Lc 74.3 Content text, not long reading
#904ECE text on black 4.16:1 AA large text Lc -27.4 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #E0D2F3

    oklch(88.5% 0.047 304.6)

  4. Step 300

    300

    #CDB3EE

    oklch(80.9% 0.086 304.6)

  5. Step 400

    400

    #B489E6

    oklch(70.7% 0.139 304.4)

  6. Step 500

    500

    #A268DE

    oklch(63.1% 0.177 304.5)

  7. Step 600

    600 (this color)

    #904ECE

    oklch(56.3% 0.192 304.7)

  8. Step 700

    700

    #793CB0

    oklch(49.2% 0.178 304.8)

  9. Step 800

    800

    #62328F

    oklch(42.7% 0.149 304.6)

  10. Step 900

    900

    #502E72

    oklch(37.8% 0.115 304.6)

  11. Step 950

    950

    #2F1B43

    oklch(27% 0.074 305)

Export this scale for Tailwind in the Tailwind colors tool

#904ECE 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)#006DD20.158
Deuteranopia (no green cones)#2E6FCB0.143
Tritanopia (no blue cones)#8569870.140
Achromatopsia (no color)#6F6F6F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #904ECE

    #904ECE

    oklch(56.3% 0.192 304.7)

  • #638200

    #638200

    oklch(56.2% 0.141 124.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904ECE

    #904ECE

    oklch(56.3% 0.192 304.7)

  • #5863E3

    #5863E3

    oklch(56.2% 0.192 274.7)

  • #B53CA2

    #B53CA2

    oklch(56.4% 0.193 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #904ECE

    #904ECE

    oklch(56.3% 0.192 304.7)

  • #8B7400

    #8B7400

    oklch(56.4% 0.116 95.1)

  • #008C4E

    #008C4E

    oklch(56.2% 0.14 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904ECE

    #904ECE

    oklch(56.3% 0.192 304.7)

  • #A76300

    #A76300

    oklch(56.3% 0.126 65)

  • #00887D

    #00887D

    oklch(56.4% 0.099 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904ECE

    #904ECE

    oklch(56.3% 0.192 304.7)

  • #CD380D

    #CD380D

    oklch(56.3% 0.192 34.8)

  • #638200

    #638200

    oklch(56.2% 0.141 124.6)

  • #008499

    #008499

    oklch(56.4% 0.099 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #904ECE 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.