#AF6ED3

Closest named color: Medium Purple (#9370DB). oklch(64.8% 0.159 312.4), rgb(175, 110, 211).

Aa

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

About this color

#AF6ED3 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.159 and its hue 312°. 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.99:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.159)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.99:1
White text3.50:1

Values

HEX#AF6ED3
RGBrgb(175, 110, 211)
HSLhsl(279, 53%, 63%)
OKLCHoklch(64.8% 0.159 312.4)

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 #AF6ED3 3.50:1 AA large text Lc -67.8 Content text, not long reading
Black text on #AF6ED3 5.99:1 AA Lc 41.7 Non-text elements, placeholder text
#AF6ED3 text on white 3.50:1 AA large text Lc 62.3 Content text, not long reading
#AF6ED3 text on black 5.99:1 AA Lc -39.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

    #F8F4FB

    oklch(97.2% 0.01 311.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

    #D2B3E5

    oklch(81% 0.077 312.5)

  5. Step 400

    400

    #BB89D8

    oklch(70.7% 0.124 312.5)

  6. Step 500

    500 (this color)

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  7. Step 600

    600

    #954EBA

    oklch(55.6% 0.172 312.5)

  8. Step 700

    700

    #7F3EA1

    oklch(49.2% 0.161 312.2)

  9. Step 800

    800

    #673482

    oklch(42.7% 0.132 312.3)

  10. Step 900

    900

    #542E68

    oklch(37.6% 0.103 312.7)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF6ED3 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)#5785D70.131
Deuteranopia (no green cones)#6A8AD00.118
Tritanopia (no blue cones)#AB7E970.109
Achromatopsia (no color)#8989890.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6ED3

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  • #68A22C

    #68A22C

    oklch(64.9% 0.159 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6ED3

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  • #827EEB

    #827EEB

    oklch(64.7% 0.159 282.7)

  • #CE62A9

    #CE62A9

    oklch(64.8% 0.16 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF6ED3

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  • #9F9100

    #9F9100

    oklch(64.9% 0.136 102.6)

  • #00A874

    #00A874

    oklch(64.7% 0.141 162.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6ED3

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  • #C17E00

    #C17E00

    oklch(64.7% 0.138 72.2)

  • #00A3A0

    #00A3A0

    oklch(64.7% 0.111 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6ED3

    #AF6ED3

    oklch(64.8% 0.159 312.4)

  • #DB6835

    #DB6835

    oklch(64.8% 0.158 42.7)

  • #68A22C

    #68A22C

    oklch(64.9% 0.159 132.3)

  • #009EC3

    #009EC3

    oklch(64.8% 0.12 222.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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