#C166C5

Closest named color: Medium Orchid (#BA55D3). oklch(65% 0.167 325.7), rgb(193, 102, 197).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.167)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.97:1
White text3.51:1

Values

HEX#C166C5
RGBrgb(193, 102, 197)
HSLhsl(297, 45%, 59%)
OKLCHoklch(65% 0.167 325.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 #C166C5 3.51:1 AA large text Lc -67.8 Content text, not long reading
Black text on #C166C5 5.97:1 AA Lc 41.7 Non-text elements, placeholder text
#C166C5 text on white 3.51:1 AA large text Lc 62.3 Content text, not long reading
#C166C5 text on black 5.97: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F3E5F3

    oklch(93.7% 0.024 325.8)

  3. Step 200

    200

    #E9CFEA

    oklch(88.4% 0.046 324.8)

  4. Step 300

    300

    #DCAFDD

    oklch(80.9% 0.08 325.6)

  5. Step 400

    400

    #CA83CC

    oklch(70.8% 0.129 325.9)

  6. Step 500

    500 (this color)

    #C166C5

    oklch(65% 0.167 325.7)

  7. Step 600

    600

    #A643AB

    oklch(55.5% 0.182 325.7)

  8. Step 700

    700

    #8E3493

    oklch(49.1% 0.169 325.6)

  9. Step 800

    800

    #742C77

    oklch(42.7% 0.14 326.1)

  10. Step 900

    900

    #5E2960

    oklch(37.7% 0.109 326.1)

  11. Step 950

    950

    #371938

    oklch(27% 0.068 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#C166C5 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)#5C81C80.160
Deuteranopia (no green cones)#778DC20.143
Tritanopia (no blue cones)#C5718C0.098
Achromatopsia (no color)#8989890.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #C166C5

    #C166C5

    oklch(65% 0.167 325.7)

  • #3BA94A

    #3BA94A

    oklch(65.1% 0.167 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C166C5

    #C166C5

    oklch(65% 0.167 325.7)

  • #9976E8

    #9976E8

    oklch(65% 0.166 295.6)

  • #DA5C93

    #DA5C93

    oklch(64.9% 0.167 355.5)

Open the analogous palette in the generator

Split complementary

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

  • #C166C5

    #C166C5

    oklch(65% 0.167 325.7)

  • #8C9900

    #8C9900

    oklch(65% 0.148 115.7)

  • #00A78C

    #00A78C

    oklch(65.1% 0.122 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C166C5

    #C166C5

    oklch(65% 0.167 325.7)

  • #B38800

    #B38800

    oklch(65% 0.133 86.1)

  • #00A2B0

    #00A2B0

    oklch(65% 0.111 205.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C166C5

    #C166C5

    oklch(65% 0.167 325.7)

  • #D67000

    #D67000

    oklch(65% 0.159 55.9)

  • #3BA94A

    #3BA94A

    oklch(65.1% 0.167 145.7)

  • #009AD8

    #009AD8

    oklch(64.9% 0.14 236.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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