#C166D8

Closest named color: Medium Orchid (#BA55D3). oklch(65.9% 0.185 319.2), rgb(193, 102, 216).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.185)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text6.15:1
White text3.40:1

Values

HEX#C166D8
RGBrgb(193, 102, 216)
HSLhsl(288, 59%, 62%)
OKLCHoklch(65.9% 0.185 319.2)

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 #C166D8 3.40:1 AA large text Lc -66.6 Content text, not long reading
Black text on #C166D8 6.15:1 AA Lc 42.9 Non-text elements, placeholder text
#C166D8 text on white 3.40:1 AA large text Lc 61.2 Content text, not long reading
#C166D8 text on black 6.15:1 AA Lc -40.5 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE6

    oklch(80.8% 0.091 318.9)

  5. Step 400

    400

    #C781D9

    oklch(70.7% 0.145 319.2)

  6. Step 500

    500 (this color)

    #C166D8

    oklch(65.9% 0.185 319.2)

  7. Step 600

    600

    #A33FBB

    oklch(55.6% 0.2 319.3)

  8. Step 700

    700

    #8C2FA2

    oklch(49.2% 0.188 319.3)

  9. Step 800

    800

    #712983

    oklch(42.7% 0.155 319)

  10. Step 900

    900

    #5C2769

    oklch(37.7% 0.121 319.3)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#C166D8 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)#5085DC0.171
Deuteranopia (no green cones)#6D8ED50.151
Tritanopia (no blue cones)#C277960.117
Achromatopsia (no color)#8B8B8B0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #C166D8

    #C166D8

    oklch(65.9% 0.185 319.2)

  • #4CAB2C

    #4CAB2C

    oklch(65.9% 0.185 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C166D8

    #C166D8

    oklch(65.9% 0.185 319.2)

  • #9279FA

    #9279FA

    oklch(66% 0.185 289.2)

  • #E059A3

    #E059A3

    oklch(66% 0.185 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #C166D8

    #C166D8

    oklch(65.9% 0.185 319.2)

  • #999800

    #999800

    oklch(65.9% 0.143 109.3)

  • #00AB84

    #00AB84

    oklch(65.9% 0.132 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C166D8

    #C166D8

    oklch(65.9% 0.185 319.2)

  • #BE8600

    #BE8600

    oklch(65.9% 0.137 79.1)

  • #00A6AC

    #00A6AC

    oklch(65.9% 0.112 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C166D8

    #C166D8

    oklch(65.9% 0.185 319.2)

  • #E46900

    #E46900

    oklch(65.9% 0.177 49.1)

  • #4CAB2C

    #4CAB2C

    oklch(65.9% 0.185 139.2)

  • #00A0D1

    #00A0D1

    oklch(66% 0.13 228.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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