#8C71FC

Closest named color: Periwinkle (#8E82FE). oklch(64.3% 0.199 288.5), rgb(140, 113, 252).

Aa

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

About this color

#8C71FC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.199 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.040 away. Black text reads best on it, at 5.88:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.199)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text5.88:1
White text3.56:1

Values

HEX#8C71FC
RGBrgb(140, 113, 252)
HSLhsl(252, 96%, 72%)
OKLCHoklch(64.3% 0.199 288.5)

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 #8C71FC 3.56:1 AA large text Lc -68.4 Content text, not long reading
Black text on #8C71FC 5.88:1 AA Lc 41.1 Non-text elements, placeholder text
#8C71FC text on white 3.56:1 AA large text Lc 63.0 Content text, not long reading
#8C71FC text on black 5.88:1 AA Lc -38.7 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D7D4FC

    oklch(88.5% 0.055 288.7)

  4. Step 300

    300

    #BEB7FC

    oklch(81% 0.097 288.7)

  5. Step 400

    400

    #9E8EFB

    oklch(70.7% 0.156 288.5)

  6. Step 500

    500 (this color)

    #8C71FC

    oklch(64.3% 0.199 288.5)

  7. Step 600

    600

    #7450E7

    oklch(55.6% 0.216 288.2)

  8. Step 700

    700

    #623FC9

    oklch(49.1% 0.201 288.3)

  9. Step 800

    800

    #5035A2

    oklch(42.7% 0.167 288.7)

  10. Step 900

    900

    #413081

    oklch(37.6% 0.13 288.1)

  11. Step 950

    950

    #261D4B

    oklch(26.9% 0.082 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#8C71FC 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)#208BFF0.114
Deuteranopia (no green cones)#2384F90.111
Tritanopia (no blue cones)#6990AC0.165
Achromatopsia (no color)#8787870.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C71FC

    #8C71FC

    oklch(64.3% 0.199 288.5)

  • #959300

    #959300

    oklch(64.4% 0.139 108.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C71FC

    #8C71FC

    oklch(64.3% 0.199 288.5)

  • #3989FF

    #3989FF

    oklch(64.3% 0.192 258.5)

  • #BE5DD9

    #BE5DD9

    oklch(64.4% 0.198 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #8C71FC

    #8C71FC

    oklch(64.3% 0.199 288.5)

  • #B98100

    #B98100

    oklch(64.3% 0.134 78.1)

  • #42A706

    #42A706

    oklch(64.3% 0.198 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C71FC

    #8C71FC

    oklch(64.3% 0.199 288.5)

  • #DD6400

    #DD6400

    oklch(64.2% 0.174 48.4)

  • #00A67E

    #00A67E

    oklch(64.4% 0.13 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C71FC

    #8C71FC

    oklch(64.3% 0.199 288.5)

  • #ED4A5C

    #ED4A5C

    oklch(64.3% 0.198 18.6)

  • #959300

    #959300

    oklch(64.4% 0.139 108.8)

  • #00A1A5

    #00A1A5

    oklch(64.3% 0.109 197.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8C71FC.

Similar named colors

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

Use #8C71FC 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.