#A398ED

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.3% 0.122 288.9), rgb(163, 152, 237).

Aa

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

About this color

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

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

Values

HEX#A398ED
RGBrgb(163, 152, 237)
HSLhsl(248, 70%, 76%)
OKLCHoklch(72.3% 0.122 288.9)

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 #A398ED 2.53:1 Fails Lc -54.8 Large or bold text, headings
Black text on #A398ED 8.27:1 AAA Lc 54.3 Large or bold text, headings
#A398ED text on white 2.53:1 Fails Lc 49.7 Large or bold text, headings
#A398ED text on black 8.27:1 AAA Lc -52.3 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

    #D7D5F4

    oklch(88.4% 0.042 288.5)

  4. Step 300

    300

    #BEB9F0

    oklch(80.9% 0.077 288.7)

  5. Step 400

    400 (this color)

    #A398ED

    oklch(72.3% 0.122 288.9)

  6. Step 500

    500

    #8876E1

    oklch(63.1% 0.156 288.8)

  7. Step 600

    600

    #735CCE

    oklch(55.5% 0.169 289)

  8. Step 700

    700

    #614BB3

    oklch(49.1% 0.158 289)

  9. Step 800

    800

    #4F3E91

    oklch(42.7% 0.131 289)

  10. Step 900

    900

    #413673

    oklch(37.7% 0.101 288.9)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#A398ED 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)#7FA4F00.052
Deuteranopia (no green cones)#7FA0EB0.050
Tritanopia (no blue cones)#91A7B70.103
Achromatopsia (no color)#A2A2A20.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #A398ED

    #A398ED

    oklch(72.3% 0.122 288.9)

  • #ACAB48

    #ACAB48

    oklch(72.2% 0.122 108.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A398ED

    #A398ED

    oklch(72.3% 0.122 288.9)

  • #76A6F1

    #76A6F1

    oklch(72.2% 0.122 259.1)

  • #C68CD6

    #C68CD6

    oklch(72.3% 0.122 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #A398ED

    #A398ED

    oklch(72.3% 0.122 288.9)

  • #CE9B41

    #CE9B41

    oklch(72.1% 0.122 78.7)

  • #7DB86C

    #7DB86C

    oklch(72.3% 0.122 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A398ED

    #A398ED

    oklch(72.3% 0.122 288.9)

  • #E38D5E

    #E38D5E

    oklch(72.3% 0.122 48.7)

  • #43BE98

    #43BE98

    oklch(72.3% 0.123 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A398ED

    #A398ED

    oklch(72.3% 0.122 288.9)

  • #E88487

    #E88487

    oklch(72.2% 0.123 18.7)

  • #ACAB48

    #ACAB48

    oklch(72.2% 0.122 108.6)

  • #08BCC2

    #08BCC2

    oklch(72.3% 0.122 198.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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