#D178EB

Closest named color: Orchid (#DA70D6). oklch(71.3% 0.183 318.2), rgb(209, 120, 235).

Aa

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

About this color

#D178EB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.183 and its hue 318°. 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 7.59:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.183)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.59:1
White text2.76:1

Values

HEX#D178EB
RGBrgb(209, 120, 235)
HSLhsl(286, 74%, 70%)
OKLCHoklch(71.3% 0.183 318.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 #D178EB 2.76:1 Fails Lc -58.2 Large or bold text, headings
Black text on #D178EB 7.59:1 AAA Lc 51.0 Large or bold text, headings
#D178EB text on white 2.76:1 Fails Lc 53.0 Large or bold text, headings
#D178EB text on black 7.59:1 AAA Lc -48.9 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #EBCCF5

    oklch(88.4% 0.065 317.9)

  4. Step 300

    300

    #E0A9F1

    oklch(81% 0.115 318.1)

  5. Step 400

    400 (this color)

    #D178EB

    oklch(71.3% 0.183 318.2)

  6. Step 500

    500

    #C14AE2

    oklch(63.1% 0.234 318.1)

  7. Step 600

    600

    #AD1BD0

    oklch(55.6% 0.255 318.2)

  8. Step 700

    700

    #9402B4

    oklch(49.1% 0.237 318)

  9. Step 800

    800

    #780F92

    oklch(42.7% 0.196 317.9)

  10. Step 900

    900

    #611A74

    oklch(37.7% 0.152 318.1)

  11. Step 950

    950

    #391244

    oklch(27% 0.096 318)

Export this scale for Tailwind in the Tailwind colors tool

#D178EB 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)#6396EF0.165
Deuteranopia (no green cones)#7D9EE80.147
Tritanopia (no blue cones)#D188A70.117
Achromatopsia (no color)#9B9B9B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178EB

    #D178EB

    oklch(71.3% 0.183 318.2)

  • #61BC3E

    #61BC3E

    oklch(71.3% 0.184 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178EB

    #D178EB

    oklch(71.3% 0.183 318.2)

  • #9F8FFF

    #9F8FFF

    oklch(71.2% 0.16 288.2)

  • #F16BB6

    #F16BB6

    oklch(71.2% 0.183 348)

Open the analogous palette in the generator

Split complementary

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

  • #D178EB

    #D178EB

    oklch(71.3% 0.183 318.2)

  • #ACA800

    #ACA800

    oklch(71.2% 0.153 108)

  • #00BE91

    #00BE91

    oklch(71.2% 0.144 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178EB

    #D178EB

    oklch(71.3% 0.183 318.2)

  • #D49500

    #D49500

    oklch(71.3% 0.148 78.5)

  • #00B9BE

    #00B9BE

    oklch(71.3% 0.121 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178EB

    #D178EB

    oklch(71.3% 0.183 318.2)

  • #FA771E

    #FA771E

    oklch(71.2% 0.183 48.2)

  • #61BC3E

    #61BC3E

    oklch(71.3% 0.184 138.3)

  • #00B2E6

    #00B2E6

    oklch(71.3% 0.139 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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