#8A8CEB

Closest named color: Perrywinkle (#8F8CE7). oklch(67.9% 0.139 281.1), rgb(138, 140, 235).

Aa

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

About this color

#8A8CEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.009 away. Black text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.03:1
White text2.98:1

Values

HEX#8A8CEB
RGBrgb(138, 140, 235)
HSLhsl(239, 71%, 73%)
OKLCHoklch(67.9% 0.139 281.1)

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 #8A8CEB 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #8A8CEB 7.03:1 AAA Lc 47.7 Large or bold text, headings
#8A8CEB text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#8A8CEB text on black 7.03:1 AAA Lc -45.4 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B6BBF8

    oklch(81% 0.086 280.6)

  5. Step 400

    400 (this color)

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  6. Step 500

    500

    #7A77F0

    oklch(63.1% 0.177 281.2)

  7. Step 600

    600

    #655CDF

    oklch(55.6% 0.193 281.2)

  8. Step 700

    700

    #544BC1

    oklch(49.1% 0.178 281)

  9. Step 800

    800

    #453E9C

    oklch(42.7% 0.148 281.5)

  10. Step 900

    900

    #39367C

    oklch(37.6% 0.115 281.2)

  11. Step 950

    950

    #212049

    oklch(26.9% 0.074 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#8A8CEB 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)#6A99EF0.047
Deuteranopia (no green cones)#6592E90.047
Tritanopia (no blue cones)#6C9FB00.121
Achromatopsia (no color)#9595950.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8CEB

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  • #AB9A0F

    #AB9A0F

    oklch(68% 0.139 101.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8CEB

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  • #509CEA

    #509CEA

    oklch(67.9% 0.138 251.1)

  • #B47DD6

    #B47DD6

    oklch(67.9% 0.139 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A8CEB

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  • #CD871C

    #CD871C

    oklch(67.9% 0.139 70.8)

  • #79A947

    #79A947

    oklch(67.9% 0.139 131.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8CEB

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  • #DE7851

    #DE7851

    oklch(68% 0.138 41.2)

  • #2BB27C

    #2BB27C

    oklch(68% 0.139 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8CEB

    #8A8CEB

    oklch(67.9% 0.139 281.1)

  • #DF7083

    #DF7083

    oklch(67.9% 0.139 10.7)

  • #AB9A0F

    #AB9A0F

    oklch(68% 0.139 101.3)

  • #00AEA9

    #00AEA9

    oklch(67.8% 0.117 191.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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