#AF00D6

Closest named color: Vibrant Purple (#AD03DE). oklch(55.6% 0.27 317.7), rgb(175, 0, 214).

Aa

White text reads best on this color (5.53:1).

About this color

#AF00D6 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.270 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.014 away. White text reads best on it, at 5.53:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.270)
Temperaturein between
Nearest nameVibrant Purple (#AD03DE)
Black text3.79:1
White text5.53:1

Values

HEX#AF00D6
RGBrgb(175, 0, 214)
HSLhsl(289, 100%, 42%)
OKLCHoklch(55.6% 0.27 317.7)

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 #AF00D6 5.53:1 AA Lc -80.5 Fine for body text
Black text on #AF00D6 3.79:1 AA large text Lc 29.0 Dividers and decoration only
#AF00D6 text on white 5.53:1 AA Lc 75.1 Fine for body text
#AF00D6 text on black 3.79:1 AA large text Lc -26.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300

    #E1A7F4

    oklch(80.8% 0.122 317.6)

  5. Step 400

    400

    #D173EE

    oklch(70.7% 0.194 317.7)

  6. Step 500

    500

    #C343E8

    oklch(63.1% 0.248 317.5)

  7. Step 600

    600 (this color)

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #631578

    oklch(37.8% 0.162 317.7)

  11. Step 950

    950

    #3A1046

    oklch(27.1% 0.102 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF00D6 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)#0060DB0.241
Deuteranopia (no green cones)#0D6DD20.244
Tritanopia (no blue cones)#AD487D0.168
Achromatopsia (no color)#6868680.273

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF00D6

    #AF00D6

    oklch(55.6% 0.27 317.7)

  • #388800

    #388800

    oklch(55.4% 0.17 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF00D6

    #AF00D6

    oklch(55.6% 0.27 317.7)

  • #763EFF

    #763EFF

    oklch(55.6% 0.262 287.8)

  • #CA008B

    #CA008B

    oklch(55.6% 0.234 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF00D6

    #AF00D6

    oklch(55.6% 0.27 317.7)

  • #7B7700

    #7B7700

    oklch(55.5% 0.119 107.4)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF00D6

    #AF00D6

    oklch(55.6% 0.27 317.7)

  • #986900

    #986900

    oklch(55.6% 0.116 77.9)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF00D6

    #AF00D6

    oklch(55.6% 0.27 317.7)

  • #B75000

    #B75000

    oklch(55.5% 0.152 47.7)

  • #388800

    #388800

    oklch(55.4% 0.17 137.6)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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