#AF6CEE

Closest named color: Light Urple (#B36FF6). oklch(66% 0.193 305.6), rgb(175, 108, 238).

Aa

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

About this color

#AF6CEE is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.193 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.015 away. Black text reads best on it, at 6.20:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.193)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.20:1
White text3.38:1

Values

HEX#AF6CEE
RGBrgb(175, 108, 238)
HSLhsl(271, 79%, 68%)
OKLCHoklch(66% 0.193 305.6)

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 #AF6CEE 3.38:1 AA large text Lc -66.4 Content text, not long reading
Black text on #AF6CEE 6.20:1 AA Lc 43.1 Non-text elements, placeholder text
#AF6CEE text on white 3.38:1 AA large text Lc 61.0 Content text, not long reading
#AF6CEE text on black 6.20:1 AA Lc -40.7 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CFB1F2

    oklch(80.9% 0.095 305.4)

  5. Step 400

    400

    #B786EB

    oklch(70.7% 0.151 305.2)

  6. Step 500

    500 (this color)

    #AF6CEE

    oklch(66% 0.193 305.6)

  7. Step 600

    600

    #9245D2

    oklch(55.7% 0.209 305.7)

  8. Step 700

    700

    #7C35B6

    oklch(49.1% 0.195 305.4)

  9. Step 800

    800

    #652D93

    oklch(42.7% 0.161 305.8)

  10. Step 900

    900

    #522A75

    oklch(37.6% 0.126 305.8)

  11. Step 950

    950

    #301A45

    oklch(27.1% 0.079 305.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF6CEE 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)#3E89F20.152
Deuteranopia (no green cones)#558CEB0.138
Tritanopia (no blue cones)#A584A30.140
Achromatopsia (no color)#8B8B8B0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF6CEE

    #AF6CEE

    oklch(66% 0.193 305.6)

  • #7AA300

    #7AA300

    oklch(66.1% 0.167 125.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF6CEE

    #AF6CEE

    oklch(66% 0.193 305.6)

  • #7583FF

    #7583FF

    oklch(65.9% 0.182 275.4)

  • #D65BBF

    #D65BBF

    oklch(65.9% 0.192 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF6CEE

    #AF6CEE

    oklch(66% 0.193 305.6)

  • #AC9000

    #AC9000

    oklch(65.9% 0.135 95.1)

  • #00AE65

    #00AE65

    oklch(66% 0.162 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF6CEE

    #AF6CEE

    oklch(66% 0.193 305.6)

  • #CE7C00

    #CE7C00

    oklch(66% 0.148 65.4)

  • #00A99C

    #00A99C

    oklch(66.1% 0.116 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF6CEE

    #AF6CEE

    oklch(66% 0.193 305.6)

  • #F05A32

    #F05A32

    oklch(66% 0.193 35.6)

  • #7AA300

    #7AA300

    oklch(66.1% 0.167 125.5)

  • #00A3BF

    #00A3BF

    oklch(65.9% 0.117 215.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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