#A798FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.2% 0.14 289.5), rgb(167, 152, 250).

Aa

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

About this color

#A798FA is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.140 and its hue 290°. 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.51:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.51:1
White text2.46:1

Values

HEX#A798FA
RGBrgb(167, 152, 250)
HSLhsl(249, 91%, 79%)
OKLCHoklch(73.2% 0.14 289.5)

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

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300

    #BFB8F6

    oklch(81% 0.087 289.5)

  5. Step 400

    400 (this color)

    #A798FA

    oklch(73.2% 0.14 289.5)

  6. Step 500

    500

    #8A71EC

    oklch(63.1% 0.178 289.7)

  7. Step 600

    600

    #7556DB

    oklch(55.7% 0.194 289.3)

  8. Step 700

    700

    #6345BE

    oklch(49.2% 0.18 289.5)

  9. Step 800

    800

    #503999

    oklch(42.5% 0.15 289.5)

  10. Step 900

    900

    #42337A

    oklch(37.7% 0.116 289.4)

  11. Step 950

    950

    #261E47

    oklch(26.8% 0.074 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#A798FA 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)#7AA7FE0.064
Deuteranopia (no green cones)#7AA3F80.062
Tritanopia (no blue cones)#93AABD0.117
Achromatopsia (no color)#A5A5A50.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798FA

    #A798FA

    oklch(73.2% 0.14 289.5)

  • #AFAF35

    #AFAF35

    oklch(73.2% 0.14 109.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798FA

    #A798FA

    oklch(73.2% 0.14 289.5)

  • #72A8FF

    #72A8FF

    oklch(73.1% 0.139 259.6)

  • #CE8ADF

    #CE8ADF

    oklch(73.2% 0.139 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #A798FA

    #A798FA

    oklch(73.2% 0.14 289.5)

  • #D79D29

    #D79D29

    oklch(73.3% 0.14 79.5)

  • #77BD66

    #77BD66

    oklch(73.1% 0.139 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798FA

    #A798FA

    oklch(73.2% 0.14 289.5)

  • #EE8C52

    #EE8C52

    oklch(73.3% 0.14 49.8)

  • #21C49A

    #21C49A

    oklch(73.2% 0.14 169.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798FA

    #A798FA

    oklch(73.2% 0.14 289.5)

  • #F48184

    #F48184

    oklch(73.2% 0.141 19.5)

  • #AFAF35

    #AFAF35

    oklch(73.2% 0.14 109.4)

  • #00BFC6

    #00BFC6

    oklch(73.1% 0.124 199.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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