#9F78CD

Closest named color: Wisteria (#A87DC2). oklch(64.5% 0.129 304.2), rgb(159, 120, 205).

Aa

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

About this color

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

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

Values

HEX#9F78CD
RGBrgb(159, 120, 205)
HSLhsl(268, 46%, 64%)
OKLCHoklch(64.5% 0.129 304.2)

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 #9F78CD 3.47:1 AA large text Lc -67.6 Content text, not long reading
Black text on #9F78CD 6.04:1 AA Lc 41.9 Non-text elements, placeholder text
#9F78CD text on white 3.47:1 AA large text Lc 62.2 Content text, not long reading
#9F78CD text on black 6.04:1 AA Lc -39.5 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

    #DED4ED

    oklch(88.6% 0.036 303.8)

  4. Step 300

    300

    #C9B7E2

    oklch(80.9% 0.063 304.1)

  5. Step 400

    400

    #AE91D4

    oklch(70.7% 0.1 303.8)

  6. Step 500

    500 (this color)

    #9F78CD

    oklch(64.5% 0.129 304.2)

  7. Step 600

    600

    #865BB5

    oklch(55.6% 0.14 304.3)

  8. Step 700

    700

    #714A9C

    oklch(49% 0.131 303.9)

  9. Step 800

    800

    #5C3D7E

    oklch(42.6% 0.108 304.2)

  10. Step 900

    900

    #4C3566

    oklch(37.8% 0.085 304.3)

  11. Step 950

    950

    #2C1F3B

    oklch(26.9% 0.053 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9F78CD 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)#6388D00.089
Deuteranopia (no green cones)#6C8ACB0.083
Tritanopia (no blue cones)#9886990.097
Achromatopsia (no color)#8989890.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F78CD

    #9F78CD

    oklch(64.5% 0.129 304.2)

  • #7D9A38

    #7D9A38

    oklch(64.4% 0.129 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F78CD

    #9F78CD

    oklch(64.5% 0.129 304.2)

  • #7686DC

    #7686DC

    oklch(64.5% 0.13 274.2)

  • #BC6DAE

    #BC6DAE

    oklch(64.4% 0.13 333.8)

Open the analogous palette in the generator

Split complementary

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

  • #9F78CD

    #9F78CD

    oklch(64.5% 0.129 304.2)

  • #A78B0D

    #A78B0D

    oklch(64.4% 0.129 94.2)

  • #40A469

    #40A469

    oklch(64.5% 0.129 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F78CD

    #9F78CD

    oklch(64.5% 0.129 304.2)

  • #C37A28

    #C37A28

    oklch(64.4% 0.13 64)

  • #00A496

    #00A496

    oklch(64.6% 0.114 184.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F78CD

    #9F78CD

    oklch(64.5% 0.129 304.2)

  • #D06D57

    #D06D57

    oklch(64.4% 0.13 33.7)

  • #7D9A38

    #7D9A38

    oklch(64.4% 0.129 124)

  • #009FB8

    #009FB8

    oklch(64.6% 0.114 214.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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