#8A8CD4

Closest named color: Perrywinkle (#8F8CE7). oklch(66.7% 0.106 281.9), rgb(138, 140, 212).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.78:1
White text3.09:1

Values

HEX#8A8CD4
RGBrgb(138, 140, 212)
HSLhsl(238, 46%, 69%)
OKLCHoklch(66.7% 0.106 281.9)

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 #8A8CD4 3.09:1 AA large text Lc -63.3 Content text, not long reading
Black text on #8A8CD4 6.78:1 AA Lc 46.2 Large or bold text, headings
#8A8CD4 text on white 3.09:1 AA large text Lc 57.9 Large or bold text, headings
#8A8CD4 text on black 6.78:1 AA Lc -43.9 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D5D7EC

    oklch(88.4% 0.029 281.5)

  4. Step 300

    300

    #BBBDE2

    oklch(80.9% 0.052 282.7)

  5. Step 400

    400

    #989BD4

    oklch(70.8% 0.083 281.7)

  6. Step 500

    500 (this color)

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  7. Step 600

    600

    #6969B5

    oklch(55.5% 0.116 281.9)

  8. Step 700

    700

    #58579B

    oklch(49% 0.107 282.4)

  9. Step 800

    800

    #48487E

    oklch(42.8% 0.088 282)

  10. Step 900

    900

    #3C3C65

    oklch(37.6% 0.069 282.5)

  11. Step 950

    950

    #23243B

    oklch(27.1% 0.043 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A8CD4 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)#7695D70.032
Deuteranopia (no green cones)#7290D20.032
Tritanopia (no blue cones)#769AA60.094
Achromatopsia (no color)#9292920.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8CD4

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  • #A29743

    #A29743

    oklch(66.9% 0.106 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8CD4

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  • #6298D4

    #6298D4

    oklch(66.7% 0.107 252)

  • #AA81C4

    #AA81C4

    oklch(66.7% 0.106 311.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A8CD4

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  • #BD8945

    #BD8945

    oklch(66.8% 0.106 71.5)

  • #7CA25C

    #7CA25C

    oklch(66.7% 0.106 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8CD4

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  • #CB7E5F

    #CB7E5F

    oklch(66.8% 0.106 42.5)

  • #4FA980

    #4FA980

    oklch(66.8% 0.107 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8CD4

    #8A8CD4

    oklch(66.7% 0.106 281.9)

  • #CD7883

    #CD7883

    oklch(66.8% 0.107 12)

  • #A29743

    #A29743

    oklch(66.9% 0.106 101.9)

  • #28A9A5

    #28A9A5

    oklch(66.8% 0.106 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 #8A8CD4, closest first.

Similar named colors

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

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