#A790FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(72% 0.158 291.4), rgb(167, 144, 255).

Aa

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

About this color

#A790FF is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.158 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.039 away. Black text reads best on it, at 8.07:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.158)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.07:1
White text2.60:1

Values

HEX#A790FF
RGBrgb(167, 144, 255)
HSLhsl(252, 100%, 78%)
OKLCHoklch(72% 0.158 291.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 #A790FF 2.60:1 Fails Lc -55.8 Large or bold text, headings
Black text on #A790FF 8.07:1 AAA Lc 53.4 Large or bold text, headings
#A790FF text on white 2.60:1 Fails Lc 50.6 Large or bold text, headings
#A790FF text on black 8.07:1 AAA Lc -51.3 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D9D3FB

    oklch(88.4% 0.055 292.1)

  4. Step 300

    300

    #C1B5FC

    oklch(80.8% 0.1 291.8)

  5. Step 400

    400 (this color)

    #A790FF

    oklch(72% 0.158 291.4)

  6. Step 500

    500

    #8F6AF7

    oklch(63.1% 0.202 291.7)

  7. Step 600

    600

    #7B4CE6

    oklch(55.6% 0.22 291.7)

  8. Step 700

    700

    #683BC8

    oklch(49.1% 0.205 291.6)

  9. Step 800

    800

    #5433A2

    oklch(42.8% 0.169 291.2)

  10. Step 900

    900

    #452E80

    oklch(37.6% 0.132 291.7)

  11. Step 950

    950

    #281C4B

    oklch(27% 0.084 291.6)

Export this scale for Tailwind in the Tailwind colors tool

#A790FF 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)#6BA2FF0.083
Deuteranopia (no green cones)#6D9EFC0.079
Tritanopia (no blue cones)#91A5BB0.131
Achromatopsia (no color)#A0A0A00.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #A790FF

    #A790FF

    oklch(72% 0.158 291.4)

  • #A9AD03

    #A9AD03

    oklch(72% 0.158 111.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A790FF

    #A790FF

    oklch(72% 0.158 291.4)

  • #70A3FF

    #70A3FF

    oklch(72% 0.145 261.5)

  • #D180E0

    #D180E0

    oklch(71.9% 0.159 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #A790FF

    #A790FF

    oklch(72% 0.158 291.4)

  • #D39900

    #D39900

    oklch(72% 0.149 81.4)

  • #66BD5B

    #66BD5B

    oklch(72.1% 0.159 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A790FF

    #A790FF

    oklch(72% 0.158 291.4)

  • #F18439

    #F18439

    oklch(72.2% 0.159 51.6)

  • #00C09A

    #00C09A

    oklch(71.9% 0.14 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A790FF

    #A790FF

    oklch(72% 0.158 291.4)

  • #F87778

    #F87778

    oklch(72% 0.158 21.4)

  • #A9AD03

    #A9AD03

    oklch(72% 0.158 111.4)

  • #00BBC5

    #00BBC5

    oklch(72.1% 0.123 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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