#8A8CE7

Closest named color: Perrywinkle (#8F8CE7). oklch(67.7% 0.133 281.3), rgb(138, 140, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.98:1
White text3.00:1

Values

HEX#8A8CE7
RGBrgb(138, 140, 231)
HSLhsl(239, 66%, 72%)
OKLCHoklch(67.7% 0.133 281.3)

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 #8A8CE7 3.00:1 AA large text Lc -62.0 Content text, not long reading
Black text on #8A8CE7 6.98:1 AA Lc 47.4 Large or bold text, headings
#8A8CE7 text on white 3.00:1 AA large text Lc 56.7 Large or bold text, headings
#8A8CE7 text on black 6.98:1 AA Lc -45.1 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

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D3D6F8

    oklch(88.5% 0.047 281.4)

  4. Step 300

    300

    #B7BBF6

    oklch(81% 0.083 281.3)

  5. Step 400

    400 (this color)

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  6. Step 500

    500

    #7A78EC

    oklch(63% 0.17 281.1)

  7. Step 600

    600

    #655EDB

    oklch(55.7% 0.185 281.1)

  8. Step 700

    700

    #554CBE

    oklch(49.1% 0.173 281.5)

  9. Step 800

    800

    #453F99

    oklch(42.6% 0.142 281.5)

  10. Step 900

    900

    #39377A

    oklch(37.7% 0.111 281)

  11. Step 950

    950

    #212147

    oklch(27% 0.069 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A8CE7 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)#6C98EB0.044
Deuteranopia (no green cones)#6792E50.045
Tritanopia (no blue cones)#6E9EAE0.116
Achromatopsia (no color)#9595950.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8CE7

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  • #A9991E

    #A9991E

    oklch(67.7% 0.133 101.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8CE7

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  • #549BE6

    #549BE6

    oklch(67.6% 0.133 251.5)

  • #B27ED3

    #B27ED3

    oklch(67.7% 0.133 311.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A8CE7

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  • #CA8826

    #CA8826

    oklch(67.8% 0.133 71.4)

  • #79A84B

    #79A84B

    oklch(67.7% 0.134 131.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8CE7

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  • #DB7953

    #DB7953

    oklch(67.8% 0.133 41.5)

  • #33B07D

    #33B07D

    oklch(67.7% 0.133 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8CE7

    #8A8CE7

    oklch(67.7% 0.133 281.3)

  • #DC7283

    #DC7283

    oklch(67.8% 0.133 11.1)

  • #A9991E

    #A9991E

    oklch(67.7% 0.133 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 #8A8CE7, closest first.

Similar named colors

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

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