#AFA6DB

Closest named color: Pale Purple (#B790D4). oklch(75.1% 0.076 292.3), rgb(175, 166, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text9.30:1
White text2.25:1

Values

HEX#AFA6DB
RGBrgb(175, 166, 219)
HSLhsl(250, 42%, 75%)
OKLCHoklch(75.1% 0.076 292.3)

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 #AFA6DB 2.25:1 Fails Lc -49.3 Large or bold text, headings
Black text on #AFA6DB 9.30:1 AAA Lc 59.5 Large or bold text, headings
#AFA6DB text on white 2.25:1 Fails Lc 44.5 Non-text elements, placeholder text
#AFA6DB text on black 9.30:1 AAA Lc -57.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C1BCDD

    oklch(81% 0.046 292.3)

  5. Step 400

    400 (this color)

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  6. Step 500

    500

    #8B7EBF

    oklch(63% 0.097 292.6)

  7. Step 600

    600

    #7567AC

    oklch(55.7% 0.106 291.9)

  8. Step 700

    700

    #625593

    oklch(49% 0.098 292)

  9. Step 800

    800

    #504678

    oklch(42.7% 0.082 291.7)

  10. Step 900

    900

    #423B60

    oklch(37.6% 0.063 291.8)

  11. Step 950

    950

    #272338

    oklch(27.1% 0.039 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFA6DB 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)#9AADDD0.032
Deuteranopia (no green cones)#9AACDA0.031
Tritanopia (no blue cones)#A6AEB80.064
Achromatopsia (no color)#ACACAC0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA6DB

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA6DB

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  • #94AFDF

    #94AFDF

    oklch(75.1% 0.076 261.8)

  • #C69FCB

    #C69FCB

    oklch(75.2% 0.075 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA6DB

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  • #C6AA76

    #C6AA76

    oklch(75% 0.076 82.5)

  • #93BB8F

    #93BB8F

    oklch(75.1% 0.075 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA6DB

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  • #D6A182

    #D6A182

    oklch(75.1% 0.076 51.5)

  • #7BBEA9

    #7BBEA9

    oklch(75.1% 0.075 172.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA6DB

    #AFA6DB

    oklch(75.1% 0.076 292.3)

  • #DB9C98

    #DB9C98

    oklch(75.2% 0.076 23.1)

  • #AFB47B

    #AFB47B

    oklch(75.2% 0.077 112.3)

  • #71BDC3

    #71BDC3

    oklch(75.1% 0.076 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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