#AF7BFE

Closest named color: Light Urple (#B36FF6). oklch(69.2% 0.189 299.8), rgb(175, 123, 254).

Aa

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

About this color

#AF7BFE is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.189 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.027 away. Black text reads best on it, at 7.08:1.

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

Values

HEX#AF7BFE
RGBrgb(175, 123, 254)
HSLhsl(264, 98%, 74%)
OKLCHoklch(69.2% 0.189 299.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 #AF7BFE 2.96:1 Fails Lc -61.2 Content text, not long reading
Black text on #AF7BFE 7.08:1 AAA Lc 48.1 Large or bold text, headings
#AF7BFE text on white 2.96:1 Fails Lc 55.9 Large or bold text, headings
#AF7BFE text on black 7.08:1 AAA Lc -45.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

    #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)

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  6. Step 500

    500

    #A259FF

    oklch(63.1% 0.235 299.8)

  7. Step 600

    600

    #8F2FF2

    oklch(55.6% 0.263 299.6)

  8. Step 700

    700

    #7A1CD2

    oklch(49% 0.244 299.8)

  9. Step 800

    800

    #631DAA

    oklch(42.7% 0.202 299.8)

  10. Step 900

    900

    #502287

    oklch(37.7% 0.158 299.4)

  11. Step 950

    950

    #2F164F

    oklch(27.1% 0.1 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BFE 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)#4B96FF0.133
Deuteranopia (no green cones)#5A95FB0.121
Tritanopia (no blue cones)#9F94B10.146
Achromatopsia (no color)#9696960.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BFE

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  • #90A900

    #90A900

    oklch(69.1% 0.164 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BFE

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  • #7594FF

    #7594FF

    oklch(69.2% 0.161 269.7)

  • #DA69D3

    #DA69D3

    oklch(69.1% 0.19 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BFE

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  • #BE9600

    #BE9600

    oklch(69.1% 0.141 89.6)

  • #0DBB56

    #0DBB56

    oklch(69.3% 0.19 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BFE

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  • #E37F00

    #E37F00

    oklch(69.2% 0.163 59.9)

  • #00B59F

    #00B59F

    oklch(69.3% 0.126 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BFE

    #AF7BFE

    oklch(69.2% 0.189 299.8)

  • #FB6350

    #FB6350

    oklch(69.1% 0.189 29.8)

  • #90A900

    #90A900

    oklch(69.1% 0.164 119.7)

  • #00AFC4

    #00AFC4

    oklch(69.1% 0.119 209.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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