#AF66CA

Closest named color: Medium Orchid (#BA55D3). oklch(63.1% 0.162 316.3), rgb(175, 102, 202).

Aa

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

About this color

#AF66CA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.162 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.042 away. Black text reads best on it, at 5.57:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.162)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.57:1
White text3.76:1

Values

HEX#AF66CA
RGBrgb(175, 102, 202)
HSLhsl(284, 49%, 60%)
OKLCHoklch(63.1% 0.162 316.3)

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 #AF66CA 3.76:1 AA large text Lc -70.4 Content text, not long reading
Black text on #AF66CA 5.57:1 AA Lc 39.2 Non-text elements, placeholder text
#AF66CA text on white 3.76:1 AA large text Lc 64.9 Content text, not long reading
#AF66CA text on black 5.57:1 AA Lc -36.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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E5D1ED

    oklch(88.5% 0.043 316.4)

  4. Step 300

    300

    #D5B1E3

    oklch(80.8% 0.079 316.4)

  5. Step 400

    400

    #C087D5

    oklch(70.8% 0.126 316.6)

  6. Step 500

    500 (this color)

    #AF66CA

    oklch(63.1% 0.162 316.3)

  7. Step 600

    600

    #9A4AB7

    oklch(55.5% 0.177 316.1)

  8. Step 700

    700

    #843B9D

    oklch(49.1% 0.163 316.5)

  9. Step 800

    800

    #6B3180

    oklch(42.7% 0.137 316.1)

  10. Step 900

    900

    #572D66

    oklch(37.7% 0.104 316.5)

  11. Step 950

    950

    #331B3C

    oklch(27% 0.066 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF66CA 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)#527FCD0.142
Deuteranopia (no green cones)#6886C70.127
Tritanopia (no blue cones)#AE758F0.107
Achromatopsia (no color)#8383830.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF66CA

    #AF66CA

    oklch(63.1% 0.162 316.3)

  • #579E2E

    #579E2E

    oklch(63% 0.162 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF66CA

    #AF66CA

    oklch(63.1% 0.162 316.3)

  • #8476E5

    #8476E5

    oklch(63% 0.162 286.5)

  • #CC5A9D

    #CC5A9D

    oklch(63% 0.163 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF66CA

    #AF66CA

    oklch(63.1% 0.162 316.3)

  • #948E00

    #948E00

    oklch(63.1% 0.135 106.7)

  • #00A277

    #00A277

    oklch(63.2% 0.131 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF66CA

    #AF66CA

    oklch(63.1% 0.162 316.3)

  • #B67C00

    #B67C00

    oklch(63% 0.132 76.1)

  • #009D9F

    #009D9F

    oklch(63.1% 0.107 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF66CA

    #AF66CA

    oklch(63.1% 0.162 316.3)

  • #D56320

    #D56320

    oklch(63% 0.162 46.3)

  • #579E2E

    #579E2E

    oklch(63% 0.162 136.3)

  • #0097C1

    #0097C1

    oklch(63% 0.121 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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