#A98BEB

Closest named color: Perrywinkle (#8F8CE7). oklch(70.3% 0.14 297.1), rgb(169, 139, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.57:1
White text2.77:1

Values

HEX#A98BEB
RGBrgb(169, 139, 235)
HSLhsl(259, 71%, 73%)
OKLCHoklch(70.3% 0.14 297.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 #A98BEB 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #A98BEB 7.57:1 AAA Lc 50.7 Large or bold text, headings
#A98BEB text on white 2.77:1 Fails Lc 53.3 Large or bold text, headings
#A98BEB text on black 7.57:1 AAA Lc -48.5 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

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C6B5F3

    oklch(80.9% 0.088 297)

  5. Step 400

    400 (this color)

    #A98BEB

    oklch(70.3% 0.14 297.1)

  6. Step 500

    500

    #976CE6

    oklch(63.1% 0.178 297.3)

  7. Step 600

    600

    #8250D4

    oklch(55.5% 0.194 297.1)

  8. Step 700

    700

    #6E40B8

    oklch(49.1% 0.18 296.8)

  9. Step 800

    800

    #5A3695

    oklch(42.8% 0.149 297.1)

  10. Step 900

    900

    #493077

    oklch(37.7% 0.117 296.6)

  11. Step 950

    950

    #2B1D45

    oklch(27% 0.073 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#A98BEB 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)#709CEF0.082
Deuteranopia (no green cones)#759AE90.077
Tritanopia (no blue cones)#9B9CB00.112
Achromatopsia (no color)#9B9B9B0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #A98BEB

    #A98BEB

    oklch(70.3% 0.14 297.1)

  • #9AAA36

    #9AAA36

    oklch(70.3% 0.139 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A98BEB

    #A98BEB

    oklch(70.3% 0.14 297.1)

  • #789BF6

    #789BF6

    oklch(70.3% 0.139 266.9)

  • #CC7ECC

    #CC7ECC

    oklch(70.2% 0.14 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #A98BEB

    #A98BEB

    oklch(70.3% 0.14 297.1)

  • #C49814

    #C49814

    oklch(70.2% 0.139 87.1)

  • #5DB66A

    #5DB66A

    oklch(70.2% 0.139 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A98BEB

    #A98BEB

    oklch(70.3% 0.14 297.1)

  • #DF863C

    #DF863C

    oklch(70.2% 0.14 57.1)

  • #00B99E

    #00B99E

    oklch(70.3% 0.13 177.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A98BEB

    #A98BEB

    oklch(70.3% 0.14 297.1)

  • #E97A6F

    #E97A6F

    oklch(70.3% 0.139 27)

  • #9AAA36

    #9AAA36

    oklch(70.3% 0.139 116.9)

  • #00B4C5

    #00B4C5

    oklch(70.3% 0.121 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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