#AF7BFC

Closest named color: Light Urple (#B36FF6). oklch(69.1% 0.187 300.2), rgb(175, 123, 252).

Aa

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

About this color

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

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

Values

HEX#AF7BFC
RGBrgb(175, 123, 252)
HSLhsl(264, 96%, 74%)
OKLCHoklch(69.1% 0.187 300.2)

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 #AF7BFC 2.97:1 Fails Lc -61.4 Content text, not long reading
Black text on #AF7BFC 7.06:1 AAA Lc 48.0 Large or bold text, headings
#AF7BFC text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#AF7BFC text on black 7.06:1 AAA Lc -45.7 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

    #DFD0FE

    oklch(88.4% 0.064 300)

  4. Step 300

    300

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400 (this color)

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  6. Step 500

    500

    #A358FF

    oklch(63.1% 0.236 300.3)

  7. Step 600

    600

    #9031F0

    oklch(55.7% 0.259 300.2)

  8. Step 700

    700

    #7A1ED1

    oklch(49.1% 0.242 299.9)

  9. Step 800

    800

    #631FA9

    oklch(42.7% 0.2 299.9)

  10. Step 900

    900

    #512285

    oklch(37.7% 0.156 300.7)

  11. Step 950

    950

    #2F164E

    oklch(27% 0.099 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF7BFC 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)#4D95FF0.131
Deuteranopia (no green cones)#5C95F90.120
Tritanopia (no blue cones)#9F94B00.145
Achromatopsia (no color)#9696960.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7BFC

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  • #8FA900

    #8FA900

    oklch(69% 0.164 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7BFC

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  • #7693FF

    #7693FF

    oklch(69.1% 0.162 270.4)

  • #D96AD1

    #D96AD1

    oklch(69.1% 0.186 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF7BFC

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  • #BD9600

    #BD9600

    oklch(69% 0.141 90.1)

  • #0EBA58

    #0EBA58

    oklch(69.1% 0.187 150.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7BFC

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  • #E27F00

    #E27F00

    oklch(69.1% 0.162 60.2)

  • #00B49F

    #00B49F

    oklch(69% 0.125 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7BFC

    #AF7BFC

    oklch(69.1% 0.187 300.2)

  • #FA6450

    #FA6450

    oklch(69.1% 0.187 30.2)

  • #8FA900

    #8FA900

    oklch(69% 0.164 120.1)

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

Similar named colors

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

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