#AF6EC3

Closest named color: Soft Purple (#A66FB5). oklch(64% 0.141 317.9), rgb(175, 110, 195).

Aa

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

About this color

#AF6EC3 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.141 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.027 away. Black text reads best on it, at 5.84:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.141)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.84:1
White text3.59:1

Values

HEX#AF6EC3
RGBrgb(175, 110, 195)
HSLhsl(286, 41%, 60%)
OKLCHoklch(64% 0.141 317.9)

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 #AF6EC3 3.59:1 AA large text Lc -68.8 Content text, not long reading
Black text on #AF6EC3 5.84:1 AA Lc 40.8 Non-text elements, placeholder text
#AF6EC3 text on white 3.59:1 AA large text Lc 63.3 Content text, not long reading
#AF6EC3 text on black 5.84:1 AA Lc -38.4 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D4B3DE

    oklch(80.9% 0.069 318.3)

  5. Step 400

    400

    #BD8ACD

    oklch(70.6% 0.11 317.9)

  6. Step 500

    500 (this color)

    #AF6EC3

    oklch(64% 0.141 317.9)

  7. Step 600

    600

    #9751AC

    oklch(55.5% 0.153 317.9)

  8. Step 700

    700

    #814194

    oklch(49% 0.143 318)

  9. Step 800

    800

    #693678

    oklch(42.6% 0.119 318.1)

  10. Step 900

    900

    #553061

    oklch(37.7% 0.092 317.4)

  11. Step 950

    950

    #321C39

    oklch(26.9% 0.06 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF6EC3 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)#6083C60.123
Deuteranopia (no green cones)#7289C10.110
Tritanopia (no blue cones)#AF798F0.092
Achromatopsia (no color)#8787870.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6EC3

    #AF6EC3

    oklch(64% 0.141 317.9)

  • #5E9F46

    #5E9F46

    oklch(63.8% 0.14 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6EC3

    #AF6EC3

    oklch(64% 0.141 317.9)

  • #897CDC

    #897CDC

    oklch(64% 0.141 288)

  • #C8659B

    #C8659B

    oklch(63.9% 0.14 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF6EC3

    #AF6EC3

    oklch(64% 0.141 317.9)

  • #959100

    #959100

    oklch(63.9% 0.138 107.8)

  • #00A47D

    #00A47D

    oklch(63.8% 0.129 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6EC3

    #AF6EC3

    oklch(64% 0.141 317.9)

  • #B88000

    #B88000

    oklch(64% 0.133 77.9)

  • #00A0A4

    #00A0A4

    oklch(64% 0.109 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6EC3

    #AF6EC3

    oklch(64% 0.141 317.9)

  • #CF6E36

    #CF6E36

    oklch(64% 0.141 48.2)

  • #5E9F46

    #5E9F46

    oklch(63.8% 0.14 138)

  • #009AC7

    #009AC7

    oklch(64.1% 0.124 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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