#AF7BFD

Closest named color: Light Urple (#B36FF6). oklch(69.1% 0.188 300), rgb(175, 123, 253).

Aa

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

About this color

#AF7BFD is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.188 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.07:1.

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

Values

HEX#AF7BFD
RGBrgb(175, 123, 253)
HSLhsl(264, 97%, 74%)
OKLCHoklch(69.1% 0.188 300)

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 #AF7BFD 2.96:1 Fails Lc -61.3 Content text, not long reading
Black text on #AF7BFD 7.07:1 AAA Lc 48.1 Large or bold text, headings
#AF7BFD text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#AF7BFD text on black 7.07:1 AAA Lc -45.8 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

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400 (this color)

    #AF7BFD

    oklch(69.1% 0.188 300)

  6. Step 500

    500

    #A259FF

    oklch(63.1% 0.235 299.8)

  7. Step 600

    600

    #8F30F1

    oklch(55.6% 0.261 299.8)

  8. Step 700

    700

    #7A1DD1

    oklch(49% 0.242 300)

  9. Step 800

    800

    #631EA9

    oklch(42.7% 0.201 300)

  10. Step 900

    900

    #502286

    oklch(37.6% 0.157 299.8)

  11. Step 950

    950

    #2F164E

    oklch(27% 0.099 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BFD 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)#4C95FF0.131
Deuteranopia (no green cones)#5B95FA0.121
Tritanopia (no blue cones)#9F94B10.144
Achromatopsia (no color)#9696960.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BFD

    #AF7BFD

    oklch(69.1% 0.188 300)

  • #90A900

    #90A900

    oklch(69.1% 0.164 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BFD

    #AF7BFD

    oklch(69.1% 0.188 300)

  • #7594FF

    #7594FF

    oklch(69.2% 0.161 269.7)

  • #DA6AD2

    #DA6AD2

    oklch(69.2% 0.187 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BFD

    #AF7BFD

    oklch(69.1% 0.188 300)

  • #BE9600

    #BE9600

    oklch(69.1% 0.141 89.6)

  • #0EBA57

    #0EBA57

    oklch(69% 0.188 149.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BFD

    #AF7BFD

    oklch(69.1% 0.188 300)

  • #E27F00

    #E27F00

    oklch(69.1% 0.162 60.2)

  • #00B59F

    #00B59F

    oklch(69.3% 0.126 180)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BFD

    #AF7BFD

    oklch(69.1% 0.188 300)

  • #FA6450

    #FA6450

    oklch(69.1% 0.187 30.2)

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

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

Similar named colors

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

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