#A398EA

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.1% 0.118 289.2), rgb(163, 152, 234).

Aa

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

About this color

#A398EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.118 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.036 away. Black text reads best on it, at 8.23:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.23:1
White text2.54:1

Values

HEX#A398EA
RGBrgb(163, 152, 234)
HSLhsl(248, 66%, 76%)
OKLCHoklch(72.1% 0.118 289.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 #A398EA 2.54:1 Fails Lc -55.0 Large or bold text, headings
Black text on #A398EA 8.23:1 AAA Lc 54.1 Large or bold text, headings
#A398EA text on white 2.54:1 Fails Lc 49.9 Large or bold text, headings
#A398EA text on black 8.23:1 AAA Lc -52.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9EE

    oklch(80.9% 0.074 289.8)

  5. Step 400

    400 (this color)

    #A398EA

    oklch(72.1% 0.118 289.2)

  6. Step 500

    500

    #8877DE

    oklch(63.1% 0.151 288.9)

  7. Step 600

    600

    #735DCB

    oklch(55.5% 0.164 289.1)

  8. Step 700

    700

    #614CB0

    oklch(49.1% 0.153 289.2)

  9. Step 800

    800

    #4F3F8E

    oklch(42.7% 0.126 289.3)

  10. Step 900

    900

    #413672

    oklch(37.6% 0.099 289.1)

  11. Step 950

    950

    #262043

    oklch(27% 0.064 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#A398EA 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)#81A4ED0.050
Deuteranopia (no green cones)#80A0E80.049
Tritanopia (no blue cones)#92A7B60.100
Achromatopsia (no color)#A2A2A20.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #A398EA

    #A398EA

    oklch(72.1% 0.118 289.2)

  • #AAAB4C

    #AAAB4C

    oklch(72.1% 0.118 109.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A398EA

    #A398EA

    oklch(72.1% 0.118 289.2)

  • #78A6EE

    #78A6EE

    oklch(72.2% 0.117 259.1)

  • #C58CD4

    #C58CD4

    oklch(72.1% 0.119 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #A398EA

    #A398EA

    oklch(72.1% 0.118 289.2)

  • #CC9C46

    #CC9C46

    oklch(72.2% 0.118 79.5)

  • #7DB76E

    #7DB76E

    oklch(72.1% 0.118 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A398EA

    #A398EA

    oklch(72.1% 0.118 289.2)

  • #E08E60

    #E08E60

    oklch(72.2% 0.117 49.4)

  • #48BD99

    #48BD99

    oklch(72.2% 0.118 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A398EA

    #A398EA

    oklch(72.1% 0.118 289.2)

  • #E58587

    #E58587

    oklch(72% 0.118 19.1)

  • #AAAB4C

    #AAAB4C

    oklch(72.1% 0.118 109.6)

  • #1FBBC1

    #1FBBC1

    oklch(72.2% 0.118 199.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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