#A8A8EC

Closest named color: Carolina Blue (#8AB8FE). oklch(75.7% 0.097 283.8), rgb(168, 168, 236).

Aa

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

About this color

#A8A8EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.097 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.052 away. Black text reads best on it, at 9.47:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameCarolina Blue (#8AB8FE)
Black text9.47:1
White text2.21:1

Values

HEX#A8A8EC
RGBrgb(168, 168, 236)
HSLhsl(240, 64%, 79%)
OKLCHoklch(75.7% 0.097 283.8)

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 #A8A8EC 2.21:1 Fails Lc -48.4 Large or bold text, headings
Black text on #A8A8EC 9.47:1 AAA Lc 60.4 Content text, not long reading
#A8A8EC text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#A8A8EC text on black 9.47:1 AAA Lc -58.6 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE7

    oklch(80.9% 0.06 283.9)

  5. Step 400

    400 (this color)

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  6. Step 500

    500

    #817ED2

    oklch(63.2% 0.124 283.9)

  7. Step 600

    600

    #6B66BF

    oklch(55.7% 0.135 283.7)

  8. Step 700

    700

    #5954A4

    oklch(49% 0.125 283.6)

  9. Step 800

    800

    #494585

    oklch(42.7% 0.104 283.9)

  10. Step 900

    900

    #3D3B6B

    oklch(37.8% 0.081 283.7)

  11. Step 950

    950

    #23233E

    oklch(27% 0.05 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#A8A8EC 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)#95B0EF0.030
Deuteranopia (no green cones)#93ACEA0.029
Tritanopia (no blue cones)#97B4C00.085
Achromatopsia (no color)#AEAEAE0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #84B3ED

    #84B3ED

    oklch(75.6% 0.098 254.1)

  • #C69EDC

    #C69EDC

    oklch(75.7% 0.097 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #D5A768

    #D5A768

    oklch(75.7% 0.097 74.2)

  • #97BE7E

    #97BE7E

    oklch(75.7% 0.097 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #E49C7D

    #E49C7D

    oklch(75.6% 0.097 44.1)

  • #72C49F

    #72C49F

    oklch(75.7% 0.098 163.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #E7969E

    #E7969E

    oklch(75.7% 0.098 13.2)

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #5AC4C2

    #5AC4C2

    oklch(75.8% 0.098 193.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A8A8EC 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.