#A795FA

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.7% 0.144 290.5), rgb(167, 149, 250).

Aa

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

About this color

#A795FA is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.144 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.034 away. Black text reads best on it, at 8.32:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.144)
Temperaturein between
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.32:1
White text2.52:1

Values

HEX#A795FA
RGBrgb(167, 149, 250)
HSLhsl(251, 91%, 78%)
OKLCHoklch(72.7% 0.144 290.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 #A795FA 2.52:1 Fails Lc -54.5 Large or bold text, headings
Black text on #A795FA 8.32:1 AAA Lc 54.6 Large or bold text, headings
#A795FA text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#A795FA text on black 8.32:1 AAA Lc -52.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

    #C0B7F7

    oklch(80.9% 0.09 290.7)

  5. Step 400

    400 (this color)

    #A795FA

    oklch(72.7% 0.144 290.5)

  6. Step 500

    500

    #8C6FEF

    oklch(63.1% 0.185 290.5)

  7. Step 600

    600

    #7753DD

    oklch(55.5% 0.2 290.4)

  8. Step 700

    700

    #6542C0

    oklch(49.1% 0.187 290.6)

  9. Step 800

    800

    #52389B

    oklch(42.7% 0.154 290.5)

  10. Step 900

    900

    #43327B

    oklch(37.7% 0.119 290.2)

  11. Step 950

    950

    #271E48

    oklch(27% 0.075 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#A795FA 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)#75A5FE0.070
Deuteranopia (no green cones)#76A1F80.067
Tritanopia (no blue cones)#93A8BC0.120
Achromatopsia (no color)#A3A3A30.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #A795FA

    #A795FA

    oklch(72.7% 0.144 290.5)

  • #ACAE2E

    #ACAE2E

    oklch(72.7% 0.144 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A795FA

    #A795FA

    oklch(72.7% 0.144 290.5)

  • #72A6FF

    #72A6FF

    oklch(72.7% 0.142 260.6)

  • #CF87DE

    #CF87DE

    oklch(72.7% 0.144 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #A795FA

    #A795FA

    oklch(72.7% 0.144 290.5)

  • #D59B1B

    #D59B1B

    oklch(72.6% 0.144 80.4)

  • #71BD63

    #71BD63

    oklch(72.8% 0.145 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A795FA

    #A795FA

    oklch(72.7% 0.144 290.5)

  • #ED894B

    #ED894B

    oklch(72.6% 0.144 50.5)

  • #00C39A

    #00C39A

    oklch(72.7% 0.143 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A795FA

    #A795FA

    oklch(72.7% 0.144 290.5)

  • #F47E80

    #F47E80

    oklch(72.7% 0.145 20.2)

  • #ACAE2E

    #ACAE2E

    oklch(72.7% 0.144 110.4)

  • #00BDC6

    #00BDC6

    oklch(72.6% 0.123 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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