#A798FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.5% 0.147 288.9), rgb(167, 152, 255).

Aa

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

About this color

#A798FF is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.147 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.57:1.

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

Values

HEX#A798FF
RGBrgb(167, 152, 255)
HSLhsl(249, 100%, 80%)
OKLCHoklch(73.5% 0.147 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 #A798FF 2.44:1 Fails Lc -53.1 Large or bold text, headings
Black text on #A798FF 8.57:1 AAA Lc 56.0 Large or bold text, headings
#A798FF text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#A798FF text on black 8.57:1 AAA Lc -54.0 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

    #BEB7F9

    oklch(80.8% 0.093 289)

  5. Step 400

    400 (this color)

    #A798FF

    oklch(73.5% 0.147 288.9)

  6. Step 500

    500

    #896FF1

    oklch(63% 0.187 289.1)

  7. Step 600

    600

    #7553E0

    oklch(55.6% 0.204 289.1)

  8. Step 700

    700

    #6242C2

    oklch(49% 0.189 288.9)

  9. Step 800

    800

    #50389D

    oklch(42.7% 0.156 289)

  10. Step 900

    900

    #42327D

    oklch(37.8% 0.122 289)

  11. Step 950

    950

    #261E49

    oklch(27% 0.077 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#A798FF 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)#77A8FF0.069
Deuteranopia (no green cones)#77A3FC0.065
Tritanopia (no blue cones)#91ABBF0.123
Achromatopsia (no color)#A6A6A60.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #B1B02A

    #B1B02A

    oklch(73.5% 0.147 109.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #73AAFF

    #73AAFF

    oklch(73.6% 0.137 258.8)

  • #D089E3

    #D089E3

    oklch(73.4% 0.146 319)

Open the analogous palette in the generator

Split complementary

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

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #DA9C1C

    #DA9C1C

    oklch(73.4% 0.146 78.7)

  • #77BF61

    #77BF61

    oklch(73.5% 0.147 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #F28A4E

    #F28A4E

    oklch(73.5% 0.147 48.9)

  • #05C699

    #05C699

    oklch(73.5% 0.147 168.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #F78084

    #F78084

    oklch(73.5% 0.146 19.2)

  • #B1B02A

    #B1B02A

    oklch(73.5% 0.147 109.1)

  • #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 #A798FF, closest first.

Similar named colors

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

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