#904CDF

Closest named color: Purpley (#8756E4). oklch(57.2% 0.214 301.1), rgb(144, 76, 223).

Aa

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

About this color

#904CDF is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.214 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.90:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.28:1
White text4.90:1

Values

HEX#904CDF
RGBrgb(144, 76, 223)
HSLhsl(268, 70%, 59%)
OKLCHoklch(57.2% 0.214 301.1)

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 #904CDF 4.90:1 AA Lc -78.7 Fine for body text
Black text on #904CDF 4.28:1 AA large text Lc 30.8 Non-text elements, placeholder text
#904CDF text on white 4.90:1 AA Lc 73.3 Content text, not long reading
#904CDF text on black 4.28:1 AA large text Lc -28.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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD2F8

    oklch(88.6% 0.053 300.9)

  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

    #9F65EB

    oklch(63.1% 0.196 300.9)

  7. Step 600

    600 (this color)

    #904CDF

    oklch(57.2% 0.214 301.1)

  8. Step 700

    700

    #7636BD

    oklch(49.1% 0.2 300.8)

  9. Step 800

    800

    #602F99

    oklch(42.8% 0.165 300.8)

  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

#904CDF 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)#0070E30.157
Deuteranopia (no green cones)#0070DC0.158
Tritanopia (no blue cones)#7F6D8F0.159
Achromatopsia (no color)#7171710.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #904CDF

    #904CDF

    oklch(57.2% 0.214 301.1)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #904CDF

    #904CDF

    oklch(57.2% 0.214 301.1)

  • #4E65F3

    #4E65F3

    oklch(57.3% 0.213 271)

  • #BA35B0

    #BA35B0

    oklch(57.3% 0.214 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #904CDF

    #904CDF

    oklch(57.2% 0.214 301.1)

  • #927400

    #927400

    oklch(57.2% 0.117 90.6)

  • #009045

    #009045

    oklch(57.2% 0.154 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #904CDF

    #904CDF

    oklch(57.2% 0.214 301.1)

  • #AF6200

    #AF6200

    oklch(57.3% 0.133 60.8)

  • #008B7C

    #008B7C

    oklch(57.1% 0.102 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #904CDF

    #904CDF

    oklch(57.2% 0.214 301.1)

  • #D9280F

    #D9280F

    oklch(57.1% 0.213 31.1)

  • #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 #904CDF, closest first.

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

Similar named colors

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

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