#817CFE

Closest named color: Periwinkle (#8E82FE). oklch(65.4% 0.188 281.6), rgb(129, 124, 254).

Aa

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

About this color

#817CFE is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.188 and its hue 282°. 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.24:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.188)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.24:1
White text3.36:1

Values

HEX#817CFE
RGBrgb(129, 124, 254)
HSLhsl(242, 98%, 74%)
OKLCHoklch(65.4% 0.188 281.6)

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 #817CFE 3.36:1 AA large text Lc -66.3 Content text, not long reading
Black text on #817CFE 6.24:1 AA Lc 43.3 Non-text elements, placeholder text
#817CFE text on white 3.36:1 AA large text Lc 60.8 Content text, not long reading
#817CFE text on black 6.24:1 AA Lc -40.9 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D3D6FB

    oklch(88.6% 0.051 281.6)

  4. Step 300

    300

    #B6BAFB

    oklch(80.9% 0.092 281.4)

  5. Step 400

    400

    #9293F9

    oklch(70.6% 0.147 281.5)

  6. Step 500

    500 (this color)

    #817CFE

    oklch(65.4% 0.188 281.6)

  7. Step 600

    600

    #6659E5

    oklch(55.7% 0.204 281.7)

  8. Step 700

    700

    #5548C7

    oklch(49.2% 0.189 281.5)

  9. Step 800

    800

    #453CA1

    oklch(42.7% 0.157 281.4)

  10. Step 900

    900

    #393580

    oklch(37.8% 0.123 281.2)

  11. Step 950

    950

    #21204B

    oklch(27.1% 0.077 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#817CFE 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)#3A91FF0.082
Deuteranopia (no green cones)#2F87FB0.083
Tritanopia (no blue cones)#5199B10.163
Achromatopsia (no color)#8C8C8C0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #817CFE

    #817CFE

    oklch(65.4% 0.188 281.6)

  • #A29200

    #A29200

    oklch(65.4% 0.137 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817CFE

    #817CFE

    oklch(65.4% 0.188 281.6)

  • #1492FE

    #1492FE

    oklch(65.4% 0.188 251.7)

  • #B668E2

    #B668E2

    oklch(65.5% 0.188 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #817CFE

    #817CFE

    oklch(65.4% 0.188 281.6)

  • #C58000

    #C58000

    oklch(65.6% 0.141 71.7)

  • #66A500

    #66A500

    oklch(65.4% 0.18 131.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817CFE

    #817CFE

    oklch(65.4% 0.188 281.6)

  • #EA5E1B

    #EA5E1B

    oklch(65.4% 0.188 41.6)

  • #00AB74

    #00AB74

    oklch(65.5% 0.145 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817CFE

    #817CFE

    oklch(65.4% 0.188 281.6)

  • #EB5372

    #EB5372

    oklch(65.4% 0.187 11.8)

  • #A29200

    #A29200

    oklch(65.4% 0.137 101.6)

  • #00A6A2

    #00A6A2

    oklch(65.5% 0.113 191.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #817CFE.

Similar named colors

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

Use #817CFE 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.