#8C8EF2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.8% 0.145 281), rgb(140, 142, 242).

Aa

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

About this color

#8C8EF2 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.145 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.016 away. Black text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.145)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.26:1
White text2.88:1

Values

HEX#8C8EF2
RGBrgb(140, 142, 242)
HSLhsl(239, 80%, 75%)
OKLCHoklch(68.8% 0.145 281)

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 #8C8EF2 2.88:1 Fails Lc -60.4 Content text, not long reading
Black text on #8C8EF2 7.26:1 AAA Lc 49.0 Large or bold text, headings
#8C8EF2 text on white 2.88:1 Fails Lc 55.1 Large or bold text, headings
#8C8EF2 text on black 7.26:1 AAA Lc -46.8 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B6BAFB

    oklch(80.9% 0.092 281.4)

  5. Step 400

    400 (this color)

    #8C8EF2

    oklch(68.8% 0.145 281)

  6. Step 500

    500

    #7975F5

    oklch(63% 0.186 281)

  7. Step 600

    600

    #645AE4

    oklch(55.6% 0.202 280.8)

  8. Step 700

    700

    #5449C6

    oklch(49.2% 0.187 281)

  9. Step 800

    800

    #443DA0

    oklch(42.7% 0.155 280.8)

  10. Step 900

    900

    #39357F

    oklch(37.7% 0.121 281.3)

  11. Step 950

    950

    #21204A

    oklch(27% 0.076 281.1)

Export this scale for Tailwind in the Tailwind colors tool

#8C8EF2 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)#6A9CF60.050
Deuteranopia (no green cones)#6494F00.049
Tritanopia (no blue cones)#6CA2B40.127
Achromatopsia (no color)#9898980.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C8EF2

    #8C8EF2

    oklch(68.8% 0.145 281)

  • #AF9C00

    #AF9C00

    oklch(68.8% 0.143 100.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C8EF2

    #8C8EF2

    oklch(68.8% 0.145 281)

  • #4E9FF1

    #4E9FF1

    oklch(68.9% 0.145 251)

  • #B87FDC

    #B87FDC

    oklch(68.9% 0.144 311.3)

Open the analogous palette in the generator

Split complementary

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

  • #8C8EF2

    #8C8EF2

    oklch(68.8% 0.145 281)

  • #D2890E

    #D2890E

    oklch(68.9% 0.145 71.2)

  • #7AAD44

    #7AAD44

    oklch(68.9% 0.146 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C8EF2

    #8C8EF2

    oklch(68.8% 0.145 281)

  • #E4784F

    #E4784F

    oklch(68.8% 0.145 41)

  • #22B67D

    #22B67D

    oklch(68.9% 0.146 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C8EF2

    #8C8EF2

    oklch(68.8% 0.145 281)

  • #E57184

    #E57184

    oklch(68.9% 0.145 11.4)

  • #AF9C00

    #AF9C00

    oklch(68.8% 0.143 100.6)

  • #00B2AC

    #00B2AC

    oklch(68.9% 0.119 190.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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