#903F9D

Closest named color: Warm Purple (#952E8F). oklch(51.3% 0.163 321.9), rgb(144, 63, 157).

Aa

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

About this color

#903F9D is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.163 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.035 away. White text reads best on it, at 6.20:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.163)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.38:1
White text6.20:1

Values

HEX#903F9D
RGBrgb(144, 63, 157)
HSLhsl(292, 43%, 43%)
OKLCHoklch(51.3% 0.163 321.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 #903F9D 6.20:1 AA Lc -85.5 Fine for body text
Black text on #903F9D 3.38:1 AA large text Lc 23.7 Dividers and decoration only
#903F9D text on white 6.20:1 AA Lc 80.4 Fine for body text
#903F9D text on black 3.38:1 AA large text Lc -21.5 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D9B0DF

    oklch(80.9% 0.079 322)

  5. Step 400

    400

    #C585CF

    oklch(70.7% 0.126 322)

  6. Step 500

    500

    #B564C2

    oklch(63.1% 0.16 321.9)

  7. Step 600

    600

    #A148AF

    oklch(55.7% 0.175 322)

  8. Step 700

    700 (this color)

    #903F9D

    oklch(51.3% 0.163 321.9)

  9. Step 800

    800

    #70307A

    oklch(42.8% 0.135 322.1)

  10. Step 900

    900

    #5B2B62

    oklch(37.7% 0.106 322.4)

  11. Step 950

    950

    #351A39

    oklch(27% 0.066 322.3)

Export this scale for Tailwind in the Tailwind colors tool

#903F9D 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)#2D5BA00.158
Deuteranopia (no green cones)#4A649B0.138
Tritanopia (no blue cones)#924D680.099
Achromatopsia (no color)#6161610.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #903F9D

    #903F9D

    oklch(51.3% 0.163 321.9)

  • #1A7C11

    #1A7C11

    oklch(51.2% 0.163 142)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #903F9D

    #903F9D

    oklch(51.3% 0.163 321.9)

  • #6B4FBB

    #6B4FBB

    oklch(51.3% 0.163 291.6)

  • #A73371

    #A73371

    oklch(51.2% 0.163 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #903F9D

    #903F9D

    oklch(51.3% 0.163 321.9)

  • #696C00

    #696C00

    oklch(51.1% 0.113 111.7)

  • #007960

    #007960

    oklch(51.3% 0.1 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #903F9D

    #903F9D

    oklch(51.3% 0.163 321.9)

  • #856000

    #856000

    oklch(51.4% 0.106 82.2)

  • #00757C

    #00757C

    oklch(51.2% 0.087 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #903F9D

    #903F9D

    oklch(51.3% 0.163 321.9)

  • #9F4C00

    #9F4C00

    oklch(51.2% 0.131 52.1)

  • #1A7C11

    #1A7C11

    oklch(51.2% 0.163 142)

  • #007098

    #007098

    oklch(51.2% 0.105 232.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #903F9D.

Similar named colors

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

Use #903F9D 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.