#AF6CD3

Closest named color: Medium Purple (#9370DB). oklch(64.5% 0.162 312.7), rgb(175, 108, 211).

Aa

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

About this color

#AF6CD3 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.162 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.048 away. Black text reads best on it, at 5.90:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.162)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.90:1
White text3.55:1

Values

HEX#AF6CD3
RGBrgb(175, 108, 211)
HSLhsl(279, 54%, 63%)
OKLCHoklch(64.5% 0.162 312.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 #AF6CD3 3.55:1 AA large text Lc -68.3 Content text, not long reading
Black text on #AF6CD3 5.90:1 AA Lc 41.2 Non-text elements, placeholder text
#AF6CD3 text on white 3.55:1 AA large text Lc 62.8 Content text, not long reading
#AF6CD3 text on black 5.90:1 AA Lc -38.8 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EE

    oklch(88.4% 0.044 312.8)

  4. Step 300

    300

    #D2B2E6

    oklch(80.8% 0.08 312.3)

  5. Step 400

    400

    #BC88D9

    oklch(70.7% 0.127 312.8)

  6. Step 500

    500 (this color)

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  7. Step 600

    600

    #964CBB

    oklch(55.5% 0.176 312.8)

  8. Step 700

    700

    #803DA1

    oklch(49.1% 0.163 312.9)

  9. Step 800

    800

    #683383

    oklch(42.7% 0.136 312.6)

  10. Step 900

    900

    #552E69

    oklch(37.8% 0.105 312.9)

  11. Step 950

    950

    #321B3D

    oklch(27% 0.067 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF6CD3 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)#5484D70.136
Deuteranopia (no green cones)#6889D00.121
Tritanopia (no blue cones)#AC7C960.111
Achromatopsia (no color)#8888880.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6CD3

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  • #65A128

    #65A128

    oklch(64.4% 0.162 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6CD3

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  • #817DEC

    #817DEC

    oklch(64.5% 0.162 282.5)

  • #CE60A8

    #CE60A8

    oklch(64.5% 0.162 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF6CD3

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  • #9E9000

    #9E9000

    oklch(64.5% 0.135 102.6)

  • #00A774

    #00A774

    oklch(64.4% 0.14 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6CD3

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  • #BF7E00

    #BF7E00

    oklch(64.5% 0.137 73.1)

  • #00A2A0

    #00A2A0

    oklch(64.4% 0.11 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6CD3

    #AF6CD3

    oklch(64.5% 0.162 312.7)

  • #DC6631

    #DC6631

    oklch(64.6% 0.162 42.7)

  • #65A128

    #65A128

    oklch(64.4% 0.162 132.7)

  • #009DC2

    #009DC2

    oklch(64.5% 0.12 222.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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