#AF6ED4

Closest named color: Medium Purple (#9370DB). oklch(64.8% 0.16 312.1), rgb(175, 110, 212).

Aa

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

About this color

#AF6ED4 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.160 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 6.00:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.160)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.00:1
White text3.49:1

Values

HEX#AF6ED4
RGBrgb(175, 110, 212)
HSLhsl(278, 54%, 63%)
OKLCHoklch(64.8% 0.16 312.1)

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 #AF6ED4 3.49:1 AA large text Lc -67.7 Content text, not long reading
Black text on #AF6ED4 6.00:1 AA Lc 41.8 Non-text elements, placeholder text
#AF6ED4 text on white 3.49:1 AA large text Lc 62.3 Content text, not long reading
#AF6ED4 text on black 6.00: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

    #D2B3E6

    oklch(81% 0.078 312)

  5. Step 400

    400

    #BB89D9

    oklch(70.8% 0.125 312.1)

  6. Step 500

    500 (this color)

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  7. Step 600

    600

    #954EBB

    oklch(55.7% 0.173 312.2)

  8. Step 700

    700

    #7F3EA1

    oklch(49.2% 0.161 312.2)

  9. Step 800

    800

    #673483

    oklch(42.8% 0.134 311.9)

  10. Step 900

    900

    #542E69

    oklch(37.7% 0.105 312.1)

  11. Step 950

    950

    #311C3D

    oklch(27% 0.065 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF6ED4 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)#5786D80.132
Deuteranopia (no green cones)#698AD10.119
Tritanopia (no blue cones)#AB7E970.111
Achromatopsia (no color)#8989890.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6ED4

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  • #68A22A

    #68A22A

    oklch(64.9% 0.16 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6ED4

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  • #817FEC

    #817FEC

    oklch(64.9% 0.159 281.8)

  • #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°).

  • #AF6ED4

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  • #A09100

    #A09100

    oklch(65% 0.136 102.1)

  • #00A974

    #00A974

    oklch(65% 0.142 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6ED4

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  • #C27E00

    #C27E00

    oklch(64.8% 0.139 71.7)

  • #00A4A0

    #00A4A0

    oklch(64.9% 0.112 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6ED4

    #AF6ED4

    oklch(64.8% 0.16 312.1)

  • #DC6735

    #DC6735

    oklch(64.7% 0.16 42.1)

  • #68A22A

    #68A22A

    oklch(64.9% 0.16 132.2)

  • #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 #AF6ED4, closest first.

Similar named colors

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

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