#A8A7F2

Closest named color: Carolina Blue (#8AB8FE). oklch(75.8% 0.107 284.2), rgb(168, 167, 242).

Aa

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

About this color

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

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

Values

HEX#A8A7F2
RGBrgb(168, 167, 242)
HSLhsl(241, 74%, 80%)
OKLCHoklch(75.8% 0.107 284.2)

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

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F2

    oklch(88.5% 0.038 285.6)

  4. Step 300

    300

    #BBBBEB

    oklch(80.8% 0.067 284.8)

  5. Step 400

    400 (this color)

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  6. Step 500

    500

    #817CD8

    oklch(63.1% 0.136 284.3)

  7. Step 600

    600

    #6B63C6

    oklch(55.6% 0.149 284.1)

  8. Step 700

    700

    #5A52AB

    oklch(49.2% 0.138 284.2)

  9. Step 800

    800

    #49438A

    oklch(42.6% 0.114 284.3)

  10. Step 900

    900

    #3D396F

    oklch(37.7% 0.09 284.6)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#A8A7F2 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)#91B0F50.035
Deuteranopia (no green cones)#8FACF00.034
Tritanopia (no blue cones)#96B5C20.093
Achromatopsia (no color)#AEAEAE0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8A7F2

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  • #BBB460

    #BBB460

    oklch(75.8% 0.107 104.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8A7F2

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  • #80B4F3

    #80B4F3

    oklch(75.8% 0.107 253.8)

  • #C99CE0

    #C99CE0

    oklch(75.8% 0.107 313.9)

Open the analogous palette in the generator

Split complementary

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

  • #A8A7F2

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  • #D9A65F

    #D9A65F

    oklch(75.8% 0.107 74.1)

  • #94BF79

    #94BF79

    oklch(75.6% 0.106 134)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8A7F2

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  • #E99A77

    #E99A77

    oklch(75.7% 0.107 44.6)

  • #69C69E

    #69C69E

    oklch(75.8% 0.107 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8A7F2

    #A8A7F2

    oklch(75.8% 0.107 284.2)

  • #EC949B

    #EC949B

    oklch(75.8% 0.107 14.7)

  • #BBB460

    #BBB460

    oklch(75.8% 0.107 104.4)

  • #4CC5C4

    #4CC5C4

    oklch(75.6% 0.106 194.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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