#A796DB

Closest named color: Pale Purple (#B790D4). oklch(71.4% 0.1 295), rgb(167, 150, 219).

Aa

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

About this color

#A796DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 71%, its chroma 0.100 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.027 away. Black text reads best on it, at 8.02:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.02:1
White text2.61:1

Values

HEX#A796DB
RGBrgb(167, 150, 219)
HSLhsl(255, 49%, 72%)
OKLCHoklch(71.4% 0.1 295)

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 #A796DB 2.61:1 Fails Lc -56.1 Large or bold text, headings
Black text on #A796DB 8.02:1 AAA Lc 53.0 Large or bold text, headings
#A796DB text on white 2.61:1 Fails Lc 51.0 Large or bold text, headings
#A796DB text on black 8.02:1 AAA Lc -50.9 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C3B9E6

    oklch(80.9% 0.064 295.1)

  5. Step 400

    400 (this color)

    #A796DB

    oklch(71.4% 0.1 295)

  6. Step 500

    500

    #9078CE

    oklch(63.1% 0.128 295.3)

  7. Step 600

    600

    #7A5FBB

    oklch(55.5% 0.14 295)

  8. Step 700

    700

    #674EA1

    oklch(49% 0.13 295.1)

  9. Step 800

    800

    #544183

    oklch(42.8% 0.107 294.7)

  10. Step 900

    900

    #453769

    oklch(37.6% 0.084 294.9)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#A796DB 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)#85A1DE0.051
Deuteranopia (no green cones)#879FD90.048
Tritanopia (no blue cones)#9DA1AF0.082
Achromatopsia (no color)#A0A0A00.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #A796DB

    #A796DB

    oklch(71.4% 0.1 295)

  • #A0AA5E

    #A0AA5E

    oklch(71.3% 0.101 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A796DB

    #A796DB

    oklch(71.4% 0.1 295)

  • #84A2E2

    #84A2E2

    oklch(71.5% 0.1 264.7)

  • #C38DC5

    #C38DC5

    oklch(71.4% 0.1 325.4)

Open the analogous palette in the generator

Split complementary

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

  • #A796DB

    #A796DB

    oklch(71.4% 0.1 295)

  • #BF9E55

    #BF9E55

    oklch(71.4% 0.1 85.5)

  • #7AB37B

    #7AB37B

    oklch(71.3% 0.1 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A796DB

    #A796DB

    oklch(71.4% 0.1 295)

  • #D39264

    #D39264

    oklch(71.4% 0.1 55.7)

  • #54B79F

    #54B79F

    oklch(71.3% 0.1 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A796DB

    #A796DB

    oklch(71.4% 0.1 295)

  • #DA8983

    #DA8983

    oklch(71.2% 0.1 24.5)

  • #A0AA5E

    #A0AA5E

    oklch(71.3% 0.101 115.2)

  • #45B5C0

    #45B5C0

    oklch(71.4% 0.101 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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