#A397F5

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.5% 0.135 288.4), rgb(163, 151, 245).

Aa

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

About this color

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

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

Values

HEX#A397F5
RGBrgb(163, 151, 245)
HSLhsl(248, 82%, 78%)
OKLCHoklch(72.5% 0.135 288.4)

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 #A397F5 2.52:1 Fails Lc -54.6 Large or bold text, headings
Black text on #A397F5 8.30:1 AAA Lc 54.5 Large or bold text, headings
#A397F5 text on white 2.52:1 Fails Lc 49.5 Large or bold text, headings
#A397F5 text on black 8.30:1 AAA Lc -52.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BEB8F4

    oklch(80.8% 0.084 288.9)

  5. Step 400

    400 (this color)

    #A397F5

    oklch(72.5% 0.135 288.4)

  6. Step 500

    500

    #8873E9

    oklch(63.1% 0.171 288.7)

  7. Step 600

    600

    #7358D8

    oklch(55.6% 0.188 288.5)

  8. Step 700

    700

    #6147BB

    oklch(49.1% 0.174 288.6)

  9. Step 800

    800

    #4F3B97

    oklch(42.6% 0.144 288.8)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950

    #261F47

    oklch(27% 0.072 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#A397F5 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)#7AA5F90.059
Deuteranopia (no green cones)#79A1F30.058
Tritanopia (no blue cones)#8FA8BA0.113
Achromatopsia (no color)#A3A3A30.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #A397F5

    #A397F5

    oklch(72.5% 0.135 288.4)

  • #AEAC39

    #AEAC39

    oklch(72.5% 0.134 108.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A397F5

    #A397F5

    oklch(72.5% 0.135 288.4)

  • #70A7FA

    #70A7FA

    oklch(72.6% 0.135 258.4)

  • #C989DC

    #C989DC

    oklch(72.3% 0.135 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #A397F5

    #A397F5

    oklch(72.5% 0.135 288.4)

  • #D39A30

    #D39A30

    oklch(72.3% 0.134 78.4)

  • #79BA65

    #79BA65

    oklch(72.5% 0.135 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A397F5

    #A397F5

    oklch(72.5% 0.135 288.4)

  • #E98A56

    #E98A56

    oklch(72.4% 0.134 48.3)

  • #2FC196

    #2FC196

    oklch(72.6% 0.135 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A397F5

    #A397F5

    oklch(72.5% 0.135 288.4)

  • #EE8185

    #EE8185

    oklch(72.5% 0.134 18.6)

  • #AEAC39

    #AEAC39

    oklch(72.5% 0.134 108.4)

  • #00BDC2

    #00BDC2

    oklch(72.5% 0.123 198.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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