#AF7BDF

Closest named color: Light Purple (#BF77F6). oklch(67.5% 0.152 306.8), rgb(175, 123, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.72:1
White text3.12:1

Values

HEX#AF7BDF
RGBrgb(175, 123, 223)
HSLhsl(271, 61%, 68%)
OKLCHoklch(67.5% 0.152 306.8)

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 #AF7BDF 3.12:1 AA large text Lc -63.5 Content text, not long reading
Black text on #AF7BDF 6.72:1 AA Lc 46.0 Large or bold text, headings
#AF7BDF text on white 3.12:1 AA large text Lc 58.1 Large or bold text, headings
#AF7BDF text on black 6.72:1 AA Lc -43.7 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

    #D0B1F1

    oklch(80.9% 0.094 306.5)

  5. Step 400

    400 (this color)

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  6. Step 500

    500

    #A862E3

    oklch(63.1% 0.193 306.7)

  7. Step 600

    600

    #9443D1

    oklch(55.6% 0.211 306.9)

  8. Step 700

    700

    #7E34B5

    oklch(49.2% 0.195 306.7)

  9. Step 800

    800

    #662C92

    oklch(42.6% 0.162 306.8)

  10. Step 900

    900

    #532A75

    oklch(37.8% 0.126 306.5)

  11. Step 950

    950

    #311944

    oklch(27% 0.08 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BDF 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)#6290E30.113
Deuteranopia (no green cones)#6F92DC0.103
Tritanopia (no blue cones)#A88BA20.111
Achromatopsia (no color)#9292920.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BDF

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  • #7EA730

    #7EA730

    oklch(67.5% 0.152 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BDF

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  • #808BF2

    #808BF2

    oklch(67.4% 0.152 276.9)

  • #D06FB9

    #D06FB9

    oklch(67.6% 0.151 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BDF

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  • #AF9600

    #AF9600

    oklch(67.5% 0.139 97.2)

  • #24B26F

    #24B26F

    oklch(67.6% 0.152 156.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BDF

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  • #D38100

    #D38100

    oklch(67.5% 0.15 66.5)

  • #00AEA3

    #00AEA3

    oklch(67.6% 0.118 186.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BDF

    #AF7BDF

    oklch(67.5% 0.152 306.8)

  • #E4704F

    #E4704F

    oklch(67.5% 0.152 36.7)

  • #7EA730

    #7EA730

    oklch(67.5% 0.152 126.8)

  • #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 #AF7BDF, closest first.

Similar named colors

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

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