#A799FE

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.6% 0.144 288.7), rgb(167, 153, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.144)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.63:1
White text2.43:1

Values

HEX#A799FE
RGBrgb(167, 153, 254)
HSLhsl(248, 98%, 80%)
OKLCHoklch(73.6% 0.144 288.7)

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 #A799FE 2.43:1 Fails Lc -52.8 Large or bold text, headings
Black text on #A799FE 8.63:1 AAA Lc 56.2 Large or bold text, headings
#A799FE text on white 2.43:1 Fails Lc 47.8 Large or bold text, headings
#A799FE text on black 8.63:1 AAA Lc -54.2 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

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB8F8

    oklch(81% 0.09 288.5)

  5. Step 400

    400 (this color)

    #A799FE

    oklch(73.6% 0.144 288.7)

  6. Step 500

    500

    #8970F0

    oklch(63.1% 0.185 289)

  7. Step 600

    600

    #7455DE

    oklch(55.6% 0.199 288.6)

  8. Step 700

    700

    #6244C1

    oklch(49.2% 0.186 288.7)

  9. Step 800

    800

    #50399C

    oklch(42.8% 0.154 288.9)

  10. Step 900

    900

    #41327C

    oklch(37.6% 0.12 288.6)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#A799FE 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)#79A8FF0.065
Deuteranopia (no green cones)#79A4FC0.062
Tritanopia (no blue cones)#91ACBF0.122
Achromatopsia (no color)#A6A6A60.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #A799FE

    #A799FE

    oklch(73.6% 0.144 288.7)

  • #B2B030

    #B2B030

    oklch(73.6% 0.143 108.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A799FE

    #A799FE

    oklch(73.6% 0.144 288.7)

  • #73AAFF

    #73AAFF

    oklch(73.6% 0.137 258.8)

  • #D08BE3

    #D08BE3

    oklch(73.7% 0.143 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #A799FE

    #A799FE

    oklch(73.6% 0.144 288.7)

  • #DA9D24

    #DA9D24

    oklch(73.6% 0.144 78.6)

  • #79BF63

    #79BF63

    oklch(73.7% 0.144 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A799FE

    #A799FE

    oklch(73.6% 0.144 288.7)

  • #F18B52

    #F18B52

    oklch(73.6% 0.144 48.5)

  • #1AC699

    #1AC699

    oklch(73.6% 0.144 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A799FE

    #A799FE

    oklch(73.6% 0.144 288.7)

  • #F78186

    #F78186

    oklch(73.7% 0.144 18.6)

  • #B2B030

    #B2B030

    oklch(73.6% 0.143 108.5)

  • #00C1C7

    #00C1C7

    oklch(73.6% 0.125 198.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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