#D178E1

Closest named color: Orchid (#DA70D6). oklch(70.8% 0.173 321.3), rgb(209, 120, 225).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.173)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.48:1
White text2.80:1

Values

HEX#D178E1
RGBrgb(209, 120, 225)
HSLhsl(291, 64%, 68%)
OKLCHoklch(70.8% 0.173 321.3)

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 #D178E1 2.80:1 Fails Lc -58.9 Large or bold text, headings
Black text on #D178E1 7.48:1 AAA Lc 50.4 Large or bold text, headings
#D178E1 text on white 2.80:1 Fails Lc 53.6 Large or bold text, headings
#D178E1 text on black 7.48:1 AAA Lc -48.2 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300

    #E1A9EB

    oklch(80.8% 0.109 321.3)

  5. Step 400

    400 (this color)

    #D178E1

    oklch(70.8% 0.173 321.3)

  6. Step 500

    500

    #C34DD8

    oklch(63.1% 0.222 321.3)

  7. Step 600

    600

    #AE25C5

    oklch(55.6% 0.24 321.2)

  8. Step 700

    700

    #9612AA

    oklch(49.2% 0.224 321.5)

  9. Step 800

    800

    #7A168A

    oklch(42.8% 0.186 321.5)

  10. Step 900

    900

    #621D6E

    oklch(37.7% 0.144 321.3)

  11. Step 950

    950

    #3A1341

    oklch(27.1% 0.092 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#D178E1 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)#6994E50.159
Deuteranopia (no green cones)#829EDE0.143
Tritanopia (no blue cones)#D385A20.107
Achromatopsia (no color)#9A9A9A0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178E1

    #D178E1

    oklch(70.8% 0.173 321.3)

  • #5ABA4D

    #5ABA4D

    oklch(70.7% 0.173 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178E1

    #D178E1

    oklch(70.8% 0.173 321.3)

  • #A38BFF

    #A38BFF

    oklch(70.8% 0.166 291.1)

  • #EE6DAD

    #EE6DAD

    oklch(70.8% 0.173 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #D178E1

    #D178E1

    oklch(70.8% 0.173 321.3)

  • #A5A900

    #A5A900

    oklch(70.8% 0.156 111.5)

  • #00BC96

    #00BC96

    oklch(70.8% 0.138 171.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178E1

    #D178E1

    oklch(70.8% 0.173 321.3)

  • #CE9600

    #CE9600

    oklch(70.8% 0.146 81.8)

  • #00B7C0

    #00B7C0

    oklch(70.9% 0.121 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178E1

    #D178E1

    oklch(70.8% 0.173 321.3)

  • #F27B1F

    #F27B1F

    oklch(70.7% 0.173 51.4)

  • #5ABA4D

    #5ABA4D

    oklch(70.7% 0.173 141.4)

  • #00AFEA

    #00AFEA

    oklch(70.8% 0.144 231.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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