#AF7BFF

Closest named color: Light Urple (#B36FF6). oklch(69.3% 0.19 299.6), rgb(175, 123, 255).

Aa

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

About this color

#AF7BFF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.190 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.028 away. Black text reads best on it, at 7.09:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.190)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text7.09:1
White text2.95:1

Values

HEX#AF7BFF
RGBrgb(175, 123, 255)
HSLhsl(264, 100%, 74%)
OKLCHoklch(69.3% 0.19 299.6)

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 #AF7BFF 2.95:1 Fails Lc -61.2 Content text, not long reading
Black text on #AF7BFF 7.09:1 AAA Lc 48.2 Large or bold text, headings
#AF7BFF text on white 2.95:1 Fails Lc 55.8 Large or bold text, headings
#AF7BFF text on black 7.09:1 AAA Lc -46.0 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FE

    oklch(93.6% 0.035 300.3)

  3. Step 200

    200

    #DFD0FF

    oklch(88.5% 0.066 299.6)

  4. Step 300

    300

    #CBB0FF

    oklch(80.9% 0.113 299.6)

  5. Step 400

    400 (this color)

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  6. Step 500

    500

    #A259FF

    oklch(63.1% 0.235 299.8)

  7. Step 600

    600

    #8F2EF3

    oklch(55.6% 0.264 299.5)

  8. Step 700

    700

    #7A1BD3

    oklch(49.1% 0.245 299.7)

  9. Step 800

    800

    #631DAB

    oklch(42.8% 0.203 299.5)

  10. Step 900

    900

    #502187

    oklch(37.6% 0.159 299.6)

  11. Step 950

    950

    #2F164F

    oklch(27.1% 0.1 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BFF 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)#4A96FF0.134
Deuteranopia (no green cones)#5995FC0.122
Tritanopia (no blue cones)#9E95B20.147
Achromatopsia (no color)#9696960.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BFF

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  • #91A900

    #91A900

    oklch(69.2% 0.163 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BFF

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  • #7594FF

    #7594FF

    oklch(69.2% 0.161 269.7)

  • #DA69D4

    #DA69D4

    oklch(69.2% 0.191 329.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BFF

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  • #BF9700

    #BF9700

    oklch(69.4% 0.142 89.7)

  • #0CBB55

    #0CBB55

    oklch(69.3% 0.191 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BFF

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  • #E37F00

    #E37F00

    oklch(69.2% 0.163 59.9)

  • #00B59E

    #00B59E

    oklch(69.2% 0.126 179.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BFF

    #AF7BFF

    oklch(69.3% 0.19 299.6)

  • #FC6351

    #FC6351

    oklch(69.3% 0.19 29.5)

  • #91A900

    #91A900

    oklch(69.2% 0.163 119.4)

  • #00B0C4

    #00B0C4

    oklch(69.3% 0.12 209.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF7BFF.

Similar named colors

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

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