#D186EC

Closest named color: Liliac (#C48EFD). oklch(73.4% 0.162 316.7), rgb(209, 134, 236).

Aa

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

About this color

#D186EC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.162 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.033 away. Black text reads best on it, at 8.33:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.33:1
White text2.52:1

Values

HEX#D186EC
RGBrgb(209, 134, 236)
HSLhsl(284, 73%, 73%)
OKLCHoklch(73.4% 0.162 316.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 #D186EC 2.52:1 Fails Lc -54.3 Large or bold text, headings
Black text on #D186EC 8.33:1 AAA Lc 54.8 Large or bold text, headings
#D186EC text on white 2.52:1 Fails Lc 49.2 Large or bold text, headings
#D186EC text on black 8.33:1 AAA Lc -52.8 Large or bold text, headings

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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CEF2

    oklch(88.4% 0.056 316.6)

  4. Step 300

    300

    #DBACEC

    oklch(80.8% 0.101 316.9)

  5. Step 400

    400 (this color)

    #D186EC

    oklch(73.4% 0.162 316.7)

  6. Step 500

    500

    #B957DA

    oklch(63.1% 0.206 316.7)

  7. Step 600

    600

    #A535C8

    oklch(55.7% 0.225 316.7)

  8. Step 700

    700

    #8D25AD

    oklch(49.2% 0.209 316.6)

  9. Step 800

    800

    #72228C

    oklch(42.7% 0.173 316.3)

  10. Step 900

    900

    #5D2370

    oklch(37.8% 0.135 316.7)

  11. Step 950

    950

    #361641

    oklch(26.9% 0.084 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#D186EC 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)#749EF00.138
Deuteranopia (no green cones)#88A5E90.125
Tritanopia (no blue cones)#D094AE0.107
Achromatopsia (no color)#A3A3A30.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #D186EC

    #D186EC

    oklch(73.4% 0.162 316.7)

  • #76C053

    #76C053

    oklch(73.5% 0.162 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D186EC

    #D186EC

    oklch(73.4% 0.162 316.7)

  • #A399FF

    #A399FF

    oklch(73.3% 0.145 286.7)

  • #F07BBD

    #F07BBD

    oklch(73.5% 0.162 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #D186EC

    #D186EC

    oklch(73.4% 0.162 316.7)

  • #B6AE00

    #B6AE00

    oklch(73.4% 0.157 106.4)

  • #00C694

    #00C694

    oklch(73.3% 0.151 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D186EC

    #D186EC

    oklch(73.4% 0.162 316.7)

  • #DF9A00

    #DF9A00

    oklch(73.5% 0.154 76.7)

  • #00C1C4

    #00C1C4

    oklch(73.5% 0.125 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D186EC

    #D186EC

    oklch(73.4% 0.162 316.7)

  • #F98446

    #F98446

    oklch(73.3% 0.162 46.5)

  • #76C053

    #76C053

    oklch(73.5% 0.162 136.8)

  • #00BAED

    #00BAED

    oklch(73.5% 0.141 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 #D186EC, closest first.

Similar named colors

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

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