#AF7BDE

Closest named color: Wisteria (#A87DC2). oklch(67.4% 0.15 307), rgb(175, 123, 222).

Aa

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

About this color

#AF7BDE is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.150 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.045 away. Black text reads best on it, at 6.71:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.150)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.71:1
White text3.12:1

Values

HEX#AF7BDE
RGBrgb(175, 123, 222)
HSLhsl(272, 60%, 68%)
OKLCHoklch(67.4% 0.15 307)

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 #AF7BDE 3.12:1 AA large text Lc -63.5 Content text, not long reading
Black text on #AF7BDE 6.71:1 AA Lc 45.9 Large or bold text, headings
#AF7BDE text on white 3.12:1 AA large text Lc 58.1 Large or bold text, headings
#AF7BDE text on black 6.71:1 AA Lc -43.6 Non-text elements, placeholder text

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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EEE5F9

    oklch(93.5% 0.028 306)

  3. Step 200

    200

    #E2D1F5

    oklch(88.6% 0.052 306.6)

  4. Step 300

    300

    #D0B1F0

    oklch(80.9% 0.093 306.8)

  5. Step 400

    400 (this color)

    #AF7BDE

    oklch(67.4% 0.15 307)

  6. Step 500

    500

    #A862E2

    oklch(63% 0.192 307)

  7. Step 600

    600

    #9444D0

    oklch(55.6% 0.209 307.1)

  8. Step 700

    700

    #7E34B4

    oklch(49.1% 0.194 307)

  9. Step 800

    800

    #662D92

    oklch(42.7% 0.161 306.7)

  10. Step 900

    900

    #532A74

    oklch(37.7% 0.125 306.9)

  11. Step 950

    950

    #311944

    oklch(27% 0.08 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BDE 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)#6390E20.112
Deuteranopia (no green cones)#7092DB0.102
Tritanopia (no blue cones)#A88BA20.110
Achromatopsia (no color)#9292920.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BDE

    #AF7BDE

    oklch(67.4% 0.15 307)

  • #7DA732

    #7DA732

    oklch(67.5% 0.151 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BDE

    #AF7BDE

    oklch(67.4% 0.15 307)

  • #808BF1

    #808BF1

    oklch(67.3% 0.15 276.9)

  • #CF6FB8

    #CF6FB8

    oklch(67.4% 0.15 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BDE

    #AF7BDE

    oklch(67.4% 0.15 307)

  • #AF9600

    #AF9600

    oklch(67.5% 0.139 97.2)

  • #25B170

    #25B170

    oklch(67.4% 0.15 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BDE

    #AF7BDE

    oklch(67.4% 0.15 307)

  • #D28100

    #D28100

    oklch(67.4% 0.149 66.9)

  • #00ADA3

    #00ADA3

    oklch(67.3% 0.117 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BDE

    #AF7BDE

    oklch(67.4% 0.15 307)

  • #E3714F

    #E3714F

    oklch(67.5% 0.15 37.4)

  • #7DA732

    #7DA732

    oklch(67.5% 0.151 127.2)

  • #00A8C7

    #00A8C7

    oklch(67.5% 0.121 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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