#917CEF

Closest named color: Periwinkle (#8E82FE). oklch(65.8% 0.166 289.4), rgb(145, 124, 239).

Aa

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

About this color

#917CEF is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.166 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.025 away. Black text reads best on it, at 6.33:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.166)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.33:1
White text3.31:1

Values

HEX#917CEF
RGBrgb(145, 124, 239)
HSLhsl(251, 78%, 71%)
OKLCHoklch(65.8% 0.166 289.4)

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 #917CEF 3.31:1 AA large text Lc -65.8 Content text, not long reading
Black text on #917CEF 6.33:1 AA Lc 43.7 Non-text elements, placeholder text
#917CEF text on white 3.31:1 AA large text Lc 60.4 Content text, not long reading
#917CEF text on black 6.33:1 AA Lc -41.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F6

    oklch(88.6% 0.045 289.6)

  4. Step 300

    300

    #BFB8F2

    oklch(80.8% 0.081 290)

  5. Step 400

    400

    #9F92EC

    oklch(70.8% 0.13 289.3)

  6. Step 500

    500 (this color)

    #917CEF

    oklch(65.8% 0.166 289.4)

  7. Step 600

    600

    #7459D4

    oklch(55.5% 0.181 289.2)

  8. Step 700

    700

    #6248B8

    oklch(49.1% 0.169 289.4)

  9. Step 800

    800

    #503C95

    oklch(42.7% 0.14 289.5)

  10. Step 900

    900

    #423476

    oklch(37.6% 0.109 289.9)

  11. Step 950

    950

    #261F45

    oklch(26.9% 0.069 289.4)

Export this scale for Tailwind in the Tailwind colors tool

#917CEF 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)#4F8FF30.086
Deuteranopia (no green cones)#508AEC0.084
Tritanopia (no blue cones)#7793AA0.138
Achromatopsia (no color)#8D8D8D0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #917CEF

    #917CEF

    oklch(65.8% 0.166 289.4)

  • #989800

    #989800

    oklch(65.8% 0.143 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #917CEF

    #917CEF

    oklch(65.8% 0.166 289.4)

  • #4F8FF5

    #4F8FF5

    oklch(65.7% 0.166 259.3)

  • #BC6BD0

    #BC6BD0

    oklch(65.6% 0.166 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #917CEF

    #917CEF

    oklch(65.8% 0.166 289.4)

  • #BD8600

    #BD8600

    oklch(65.8% 0.136 79.6)

  • #54A93D

    #54A93D

    oklch(65.8% 0.167 139.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #917CEF

    #917CEF

    oklch(65.8% 0.166 289.4)

  • #DF6C1A

    #DF6C1A

    oklch(65.7% 0.166 49.3)

  • #00AB84

    #00AB84

    oklch(65.9% 0.132 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #917CEF

    #917CEF

    oklch(65.8% 0.166 289.4)

  • #E55F67

    #E55F67

    oklch(65.7% 0.167 19.3)

  • #989800

    #989800

    oklch(65.8% 0.143 109.8)

  • #00A6AC

    #00A6AC

    oklch(65.9% 0.112 199.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #917CEF.

Similar named colors

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

Use #917CEF 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.