#A897FD

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.3% 0.145 290), rgb(168, 151, 253).

Aa

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

About this color

#A897FD is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.145 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 8.50:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.145)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.50:1
White text2.46:1

Values

HEX#A897FD
RGBrgb(168, 151, 253)
HSLhsl(250, 96%, 79%)
OKLCHoklch(73.3% 0.145 290)

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 #A897FD 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #A897FD 8.50:1 AAA Lc 55.6 Large or bold text, headings
#A897FD text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#A897FD text on black 8.50:1 AAA Lc -53.6 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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4F9

    oklch(88.5% 0.051 290.3)

  4. Step 300

    300

    #BFB7F8

    oklch(80.9% 0.091 289.8)

  5. Step 400

    400 (this color)

    #A897FD

    oklch(73.3% 0.145 290)

  6. Step 500

    500

    #8B6FF0

    oklch(63.1% 0.186 290)

  7. Step 600

    600

    #7753DE

    oklch(55.6% 0.202 290.2)

  8. Step 700

    700

    #6442C1

    oklch(49.1% 0.188 290)

  9. Step 800

    800

    #51389C

    oklch(42.7% 0.155 289.7)

  10. Step 900

    900

    #43327C

    oklch(37.8% 0.12 290)

  11. Step 950

    950

    #271E49

    oklch(27.1% 0.077 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#A897FD 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)#77A7FF0.069
Deuteranopia (no green cones)#78A3FB0.066
Tritanopia (no blue cones)#93AABE0.121
Achromatopsia (no color)#A5A5A50.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #A897FD

    #A897FD

    oklch(73.3% 0.145 290)

  • #AFB02D

    #AFB02D

    oklch(73.4% 0.146 110)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A897FD

    #A897FD

    oklch(73.3% 0.145 290)

  • #74A8FF

    #74A8FF

    oklch(73.2% 0.139 260.2)

  • #D189E1

    #D189E1

    oklch(73.4% 0.145 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #A897FD

    #A897FD

    oklch(73.3% 0.145 290)

  • #D89D1C

    #D89D1C

    oklch(73.4% 0.146 80.2)

  • #74BE64

    #74BE64

    oklch(73.2% 0.144 140.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A897FD

    #A897FD

    oklch(73.3% 0.145 290)

  • #F08A4D

    #F08A4D

    oklch(73.2% 0.146 49.7)

  • #00C59A

    #00C59A

    oklch(73.2% 0.145 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A897FD

    #A897FD

    oklch(73.3% 0.145 290)

  • #F68082

    #F68082

    oklch(73.3% 0.145 20.2)

  • #AFB02D

    #AFB02D

    oklch(73.4% 0.146 110)

  • #00C0C7

    #00C0C7

    oklch(73.4% 0.125 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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