#9C8FEB

Closest named color: Perrywinkle (#8F8CE7). oklch(69.9% 0.133 289), rgb(156, 143, 235).

Aa

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

About this color

#9C8FEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.133 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.022 away. Black text reads best on it, at 7.54:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.54:1
White text2.78:1

Values

HEX#9C8FEB
RGBrgb(156, 143, 235)
HSLhsl(248, 70%, 74%)
OKLCHoklch(69.9% 0.133 289)

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 #9C8FEB 2.78:1 Fails Lc -58.8 Large or bold text, headings
Black text on #9C8FEB 7.54:1 AAA Lc 50.5 Large or bold text, headings
#9C8FEB text on white 2.78:1 Fails Lc 53.6 Large or bold text, headings
#9C8FEB text on black 7.54:1 AAA Lc -48.3 Large or bold text, headings

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

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BEB8F4

    oklch(80.8% 0.084 288.9)

  5. Step 400

    400 (this color)

    #9C8FEB

    oklch(69.9% 0.133 289)

  6. Step 500

    500

    #8973E8

    oklch(63.1% 0.17 289.2)

  7. Step 600

    600

    #7459D6

    oklch(55.7% 0.184 289)

  8. Step 700

    700

    #6248BA

    oklch(49.3% 0.171 289)

  9. Step 800

    800

    #4F3C96

    oklch(42.7% 0.141 288.7)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C8FEB 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)#729DEF0.060
Deuteranopia (no green cones)#7299E90.058
Tritanopia (no blue cones)#88A0B20.111
Achromatopsia (no color)#9B9B9B0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8FEB

    #9C8FEB

    oklch(69.9% 0.133 289)

  • #A5A432

    #A5A432

    oklch(69.9% 0.133 108.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8FEB

    #9C8FEB

    oklch(69.9% 0.133 289)

  • #6A9EF0

    #6A9EF0

    oklch(69.8% 0.133 259.2)

  • #C182D2

    #C182D2

    oklch(69.9% 0.132 318.9)

Open the analogous palette in the generator

Split complementary

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

  • #9C8FEB

    #9C8FEB

    oklch(69.9% 0.133 289)

  • #CA9328

    #CA9328

    oklch(69.9% 0.133 79)

  • #71B25F

    #71B25F

    oklch(70% 0.133 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8FEB

    #9C8FEB

    oklch(69.9% 0.133 289)

  • #DF834E

    #DF834E

    oklch(69.9% 0.132 49.3)

  • #23B890

    #23B890

    oklch(69.9% 0.133 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8FEB

    #9C8FEB

    oklch(69.9% 0.133 289)

  • #E5797D

    #E5797D

    oklch(69.9% 0.134 18.8)

  • #A5A432

    #A5A432

    oklch(69.9% 0.133 108.9)

  • #00B4BA

    #00B4BA

    oklch(69.9% 0.119 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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