#D166C4

Closest named color: Orchid (#DA70D6). oklch(66.9% 0.176 332.1), rgb(209, 102, 196).

Aa

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

About this color

#D166C4 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.176 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.035 away. Black text reads best on it, at 6.40:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.176)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text6.40:1
White text3.27:1

Values

HEX#D166C4
RGBrgb(209, 102, 196)
HSLhsl(307, 54%, 61%)
OKLCHoklch(66.9% 0.176 332.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 #D166C4 3.27:1 AA large text Lc -65.0 Content text, not long reading
Black text on #D166C4 6.40:1 AA Lc 44.4 Non-text elements, placeholder text
#D166C4 text on white 3.27:1 AA large text Lc 59.6 Large or bold text, headings
#D166C4 text on black 6.40:1 AA Lc -42.1 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 400.

  1. Step 50

    50

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F2CBEB

    oklch(88.5% 0.061 332.2)

  4. Step 300

    300

    #EBA6E0

    oklch(80.9% 0.11 332.3)

  5. Step 400

    400 (this color)

    #D166C4

    oklch(66.9% 0.176 332.1)

  6. Step 500

    500

    #D244C4

    oklch(63.2% 0.225 332.1)

  7. Step 600

    600

    #BD0FB0

    oklch(55.6% 0.244 332.2)

  8. Step 700

    700

    #A10096

    oklch(49.1% 0.221 332.1)

  9. Step 800

    800

    #84077B

    oklch(42.7% 0.188 332)

  10. Step 900

    900

    #6A1663

    oklch(37.6% 0.147 331.8)

  11. Step 950

    950

    #3F103A

    oklch(27.1% 0.093 332.3)

Export this scale for Tailwind in the Tailwind colors tool

#D166C4 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)#6384C70.177
Deuteranopia (no green cones)#8294C10.159
Tritanopia (no blue cones)#D96E8C0.093
Achromatopsia (no color)#8E8E8E0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #D166C4

    #D166C4

    oklch(66.9% 0.176 332.1)

  • #00B25B

    #00B25B

    oklch(66.9% 0.176 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D166C4

    #D166C4

    oklch(66.9% 0.176 332.1)

  • #AA76ED

    #AA76ED

    oklch(66.9% 0.175 302.1)

  • #E85E8C

    #E85E8C

    oklch(67% 0.176 2.3)

Open the analogous palette in the generator

Split complementary

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

  • #D166C4

    #D166C4

    oklch(66.9% 0.176 332.1)

  • #85A300

    #85A300

    oklch(66.8% 0.162 121.9)

  • #00AC9B

    #00AC9B

    oklch(66.8% 0.119 182.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D166C4

    #D166C4

    oklch(66.9% 0.176 332.1)

  • #B39100

    #B39100

    oklch(66.9% 0.137 92.1)

  • #00A7BF

    #00A7BF

    oklch(66.9% 0.117 212.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D166C4

    #D166C4

    oklch(66.9% 0.176 332.1)

  • #D67B00

    #D67B00

    oklch(66.8% 0.154 61.9)

  • #00B25B

    #00B25B

    oklch(66.9% 0.176 152)

  • #009EED

    #009EED

    oklch(67% 0.159 241.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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