#817BFC

Closest named color: Periwinkle (#8E82FE). oklch(65.1% 0.186 282), rgb(129, 123, 252).

Aa

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

About this color

#817BFC is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.186 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.027 away. Black text reads best on it, at 6.17:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.186)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.17:1
White text3.40:1

Values

HEX#817BFC
RGBrgb(129, 123, 252)
HSLhsl(243, 96%, 74%)
OKLCHoklch(65.1% 0.186 282)

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 #817BFC 3.40:1 AA large text Lc -66.7 Content text, not long reading
Black text on #817BFC 6.17:1 AA Lc 42.8 Non-text elements, placeholder text
#817BFC text on white 3.40:1 AA large text Lc 61.3 Content text, not long reading
#817BFC text on black 6.17:1 AA Lc -40.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

    #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

    #B7BAFA

    oklch(80.9% 0.09 282.1)

  5. Step 400

    400

    #9393F8

    oklch(70.6% 0.146 282)

  6. Step 500

    500 (this color)

    #817BFC

    oklch(65.1% 0.186 282)

  7. Step 600

    600

    #6759E4

    oklch(55.7% 0.203 282.1)

  8. Step 700

    700

    #5648C6

    oklch(49.2% 0.188 282)

  9. Step 800

    800

    #463CA0

    oklch(42.7% 0.156 282.1)

  10. Step 900

    900

    #3A357F

    oklch(37.8% 0.121 282)

  11. Step 950

    950

    #22204A

    oklch(27.1% 0.076 282.2)

Export this scale for Tailwind in the Tailwind colors tool

#817BFC 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)#3A90FF0.082
Deuteranopia (no green cones)#3087F90.084
Tritanopia (no blue cones)#5397B00.159
Achromatopsia (no color)#8B8B8B0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #817BFC

    #817BFC

    oklch(65.1% 0.186 282)

  • #A19100

    #A19100

    oklch(65.1% 0.136 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817BFC

    #817BFC

    oklch(65.1% 0.186 282)

  • #1991FC

    #1991FC

    oklch(65.2% 0.186 252)

  • #B567E0

    #B567E0

    oklch(65.1% 0.187 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #817BFC

    #817BFC

    oklch(65.1% 0.186 282)

  • #C37F00

    #C37F00

    oklch(65.1% 0.14 72)

  • #63A500

    #63A500

    oklch(65.2% 0.181 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817BFC

    #817BFC

    oklch(65.1% 0.186 282)

  • #E85E19

    #E85E19

    oklch(65.1% 0.186 42.1)

  • #00AA74

    #00AA74

    oklch(65.2% 0.143 161.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817BFC

    #817BFC

    oklch(65.1% 0.186 282)

  • #E95371

    #E95371

    oklch(65.1% 0.185 12)

  • #A19100

    #A19100

    oklch(65.1% 0.136 101.6)

  • #00A5A1

    #00A5A1

    oklch(65.2% 0.112 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 #817BFC, closest first.

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

Similar named colors

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

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