#A98FEF

Closest named color: Perrywinkle (#8F8CE7). oklch(71.2% 0.139 295.1), rgb(169, 143, 239).

Aa

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

About this color

#A98FEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.139 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.041 away. Black text reads best on it, at 7.86:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.86:1
White text2.67:1

Values

HEX#A98FEF
RGBrgb(169, 143, 239)
HSLhsl(256, 75%, 75%)
OKLCHoklch(71.2% 0.139 295.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 #A98FEF 2.67:1 Fails Lc -57.0 Large or bold text, headings
Black text on #A98FEF 7.86:1 AAA Lc 52.2 Large or bold text, headings
#A98FEF text on white 2.67:1 Fails Lc 51.8 Large or bold text, headings
#A98FEF text on black 7.86:1 AAA Lc -50.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F6

    oklch(88.4% 0.048 295.9)

  4. Step 300

    300

    #C4B6F3

    oklch(80.9% 0.086 294.9)

  5. Step 400

    400 (this color)

    #A98FEF

    oklch(71.2% 0.139 295.1)

  6. Step 500

    500

    #936EE7

    oklch(63.1% 0.176 294.9)

  7. Step 600

    600

    #7F52D5

    oklch(55.6% 0.192 295.2)

  8. Step 700

    700

    #6B42B9

    oklch(49.1% 0.178 294.8)

  9. Step 800

    800

    #573796

    oklch(42.7% 0.149 294.8)

  10. Step 900

    900

    #473177

    oklch(37.7% 0.115 294.8)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#A98FEF 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)#739FF30.077
Deuteranopia (no green cones)#779DED0.072
Tritanopia (no blue cones)#9AA0B40.112
Achromatopsia (no color)#9E9E9E0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #A98FEF

    #A98FEF

    oklch(71.2% 0.139 295.1)

  • #A0AC37

    #A0AC37

    oklch(71.3% 0.139 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A98FEF

    #A98FEF

    oklch(71.2% 0.139 295.1)

  • #779FF9

    #779FF9

    oklch(71.2% 0.139 264.9)

  • #CD82D1

    #CD82D1

    oklch(71.2% 0.138 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #A98FEF

    #A98FEF

    oklch(71.2% 0.139 295.1)

  • #C99A1E

    #C99A1E

    oklch(71.1% 0.138 85.3)

  • #65B96A

    #65B96A

    oklch(71.3% 0.139 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A98FEF

    #A98FEF

    oklch(71.2% 0.139 295.1)

  • #E38844

    #E38844

    oklch(71.1% 0.138 54.9)

  • #00BD9D

    #00BD9D

    oklch(71.3% 0.135 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A98FEF

    #A98FEF

    oklch(71.2% 0.139 295.1)

  • #EC7D75

    #EC7D75

    oklch(71.2% 0.138 25.4)

  • #A0AC37

    #A0AC37

    oklch(71.3% 0.139 115)

  • #00B7C6

    #00B7C6

    oklch(71.1% 0.122 205.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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