#9F78CB

Closest named color: Wisteria (#A87DC2). oklch(64.4% 0.127 304.7), rgb(159, 120, 203).

Aa

Black text reads best on this color (6.02:1).

About this color

#9F78CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.127 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.026 away. Black text reads best on it, at 6.02:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.02:1
White text3.48:1

Values

HEX#9F78CB
RGBrgb(159, 120, 203)
HSLhsl(268, 44%, 63%)
OKLCHoklch(64.4% 0.127 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 #9F78CB 3.48:1 AA large text Lc -67.8 Content text, not long reading
Black text on #9F78CB 6.02:1 AA Lc 41.8 Non-text elements, placeholder text
#9F78CB text on white 3.48:1 AA large text Lc 62.3 Content text, not long reading
#9F78CB text on black 6.02:1 AA Lc -39.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DED4EC

    oklch(88.5% 0.034 304.5)

  4. Step 300

    300

    #CAB7E2

    oklch(80.9% 0.063 305.1)

  5. Step 400

    400

    #AF91D3

    oklch(70.8% 0.099 304.8)

  6. Step 500

    500 (this color)

    #9F78CB

    oklch(64.4% 0.127 304.7)

  7. Step 600

    600

    #865BB3

    oklch(55.5% 0.138 304.9)

  8. Step 700

    700

    #724B9A

    oklch(49.2% 0.127 305)

  9. Step 800

    800

    #5C3E7D

    oklch(42.7% 0.105 304.3)

  10. Step 900

    900

    #4C3565

    oklch(37.8% 0.083 304.8)

  11. Step 950

    950

    #2C1F3B

    oklch(26.9% 0.053 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9F78CB 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)#6488CE0.088
Deuteranopia (no green cones)#6D89C90.081
Tritanopia (no blue cones)#9885980.095
Achromatopsia (no color)#8989890.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F78CB

    #9F78CB

    oklch(64.4% 0.127 304.7)

  • #7C9A3B

    #7C9A3B

    oklch(64.3% 0.127 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F78CB

    #9F78CB

    oklch(64.4% 0.127 304.7)

  • #7786DA

    #7786DA

    oklch(64.5% 0.127 274.6)

  • #BC6EAC

    #BC6EAC

    oklch(64.4% 0.127 334.9)

Open the analogous palette in the generator

Split complementary

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

  • #9F78CB

    #9F78CB

    oklch(64.4% 0.127 304.7)

  • #A68B15

    #A68B15

    oklch(64.3% 0.127 94.5)

  • #41A36A

    #41A36A

    oklch(64.2% 0.126 154.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F78CB

    #9F78CB

    oklch(64.4% 0.127 304.7)

  • #C17B2B

    #C17B2B

    oklch(64.3% 0.126 65)

  • #00A396

    #00A396

    oklch(64.3% 0.113 184.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F78CB

    #9F78CB

    oklch(64.4% 0.127 304.7)

  • #CE6E57

    #CE6E57

    oklch(64.3% 0.127 34.5)

  • #7C9A3B

    #7C9A3B

    oklch(64.3% 0.127 124.7)

  • #009EB8

    #009EB8

    oklch(64.3% 0.114 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9F78CB 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.