#904CDE

Closest named color: Purpley (#8756E4). oklch(57.2% 0.213 301.3), rgb(144, 76, 222).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.213)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.27:1
White text4.91:1

Values

HEX#904CDE
RGBrgb(144, 76, 222)
HSLhsl(268, 69%, 58%)
OKLCHoklch(57.2% 0.213 301.3)

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 #904CDE 4.91:1 AA Lc -78.8 Fine for body text
Black text on #904CDE 4.27:1 AA large text Lc 30.7 Non-text elements, placeholder text
#904CDE text on white 4.91:1 AA Lc 73.4 Content text, not long reading
#904CDE text on black 4.27:1 AA large text Lc -28.3 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD2F7

    oklch(88.6% 0.052 301.3)

  4. Step 300

    300

    #CBB2F5

    oklch(80.8% 0.096 301.4)

  5. Step 400

    400

    #B287F0

    oklch(70.7% 0.154 301.5)

  6. Step 500

    500

    #A065EA

    oklch(63.1% 0.195 301.5)

  7. Step 600

    600 (this color)

    #904CDE

    oklch(57.2% 0.213 301.3)

  8. Step 700

    700

    #7737BC

    oklch(49.2% 0.197 301.4)

  9. Step 800

    800

    #602F98

    oklch(42.7% 0.163 301.1)

  10. Step 900

    900

    #4E2B79

    oklch(37.6% 0.128 301.1)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#904CDE 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)#0070E20.157
Deuteranopia (no green cones)#0070DB0.158
Tritanopia (no blue cones)#7F6D8F0.158
Achromatopsia (no color)#7171710.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #904CDE

    #904CDE

    oklch(57.2% 0.213 301.3)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904CDE

    #904CDE

    oklch(57.2% 0.213 301.3)

  • #4F65F2

    #4F65F2

    oklch(57.2% 0.211 271.3)

  • #B936AF

    #B936AF

    oklch(57.1% 0.212 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #904CDE

    #904CDE

    oklch(57.2% 0.213 301.3)

  • #917400

    #917400

    oklch(57.1% 0.117 91.3)

  • #009046

    #009046

    oklch(57.2% 0.153 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904CDE

    #904CDE

    oklch(57.2% 0.213 301.3)

  • #AE6200

    #AE6200

    oklch(57.1% 0.132 61.2)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904CDE

    #904CDE

    oklch(57.2% 0.213 301.3)

  • #D9290F

    #D9290F

    oklch(57.2% 0.213 31.3)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

  • #008799

    #008799

    oklch(57.2% 0.099 211.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #904CDE.

Similar named colors

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

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