#AF4FFB

Closest named color: Lighter Purple (#A55AF4). oklch(63.1% 0.245 306), rgb(175, 79, 251).

Aa

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

About this color

#AF4FFB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.245 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.027 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.245)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.33:1
White text3.93:1

Values

HEX#AF4FFB
RGBrgb(175, 79, 251)
HSLhsl(273, 96%, 65%)
OKLCHoklch(63.1% 0.245 306)

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 #AF4FFB 3.93:1 AA large text Lc -71.4 Content text, not long reading
Black text on #AF4FFB 5.33:1 AA Lc 38.1 Non-text elements, placeholder text
#AF4FFB text on white 3.93:1 AA large text Lc 65.9 Content text, not long reading
#AF4FFB text on black 5.33:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE4FD

    oklch(93.5% 0.035 305.5)

  3. Step 200

    200

    #E4CEFD

    oklch(88.4% 0.068 306.2)

  4. Step 300

    300

    #D4ACFE

    oklch(80.9% 0.12 306.2)

  5. Step 400

    400

    #BF7BFD

    oklch(70.7% 0.191 306.3)

  6. Step 500

    500 (this color)

    #AF4FFB

    oklch(63.1% 0.245 306)

  7. Step 600

    600

    #9B22EA

    oklch(55.5% 0.267 306)

  8. Step 700

    700

    #850BCC

    oklch(49.1% 0.249 306)

  9. Step 800

    800

    #6C14A5

    oklch(42.7% 0.206 306)

  10. Step 900

    900

    #571D83

    oklch(37.7% 0.161 305.7)

  11. Step 950

    950

    #33134C

    oklch(26.9% 0.102 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF4FFB 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)#007DFF0.195
Deuteranopia (no green cones)#0F81F70.195
Tritanopia (no blue cones)#A276A00.174
Achromatopsia (no color)#8080800.247

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4FFB

    #AF4FFB

    oklch(63.1% 0.245 306)

  • #719900

    #719900

    oklch(63% 0.16 126)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4FFB

    #AF4FFB

    oklch(63.1% 0.245 306)

  • #6D76FF

    #6D76FF

    oklch(63% 0.2 276.2)

  • #DC33C0

    #DC33C0

    oklch(63.1% 0.245 336)

Open the analogous palette in the generator

Split complementary

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

  • #AF4FFB

    #AF4FFB

    oklch(63.1% 0.245 306)

  • #A18800

    #A18800

    oklch(63.1% 0.13 96)

  • #00A460

    #00A460

    oklch(63.2% 0.154 155.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4FFB

    #AF4FFB

    oklch(63.1% 0.245 306)

  • #C17500

    #C17500

    oklch(63% 0.14 66.2)

  • #009E93

    #009E93

    oklch(62.9% 0.11 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4FFB

    #AF4FFB

    oklch(63.1% 0.245 306)

  • #EF4300

    #EF4300

    oklch(63.1% 0.216 36)

  • #719900

    #719900

    oklch(63% 0.16 126)

  • #0099B4

    #0099B4

    oklch(62.9% 0.112 216.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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