#D178E7

Closest named color: Orchid (#DA70D6). oklch(71.1% 0.179 319.4), rgb(209, 120, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.179)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.55:1
White text2.78:1

Values

HEX#D178E7
RGBrgb(209, 120, 231)
HSLhsl(288, 70%, 69%)
OKLCHoklch(71.1% 0.179 319.4)

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 #D178E7 2.78:1 Fails Lc -58.5 Large or bold text, headings
Black text on #D178E7 7.55:1 AAA Lc 50.8 Large or bold text, headings
#D178E7 text on white 2.78:1 Fails Lc 53.3 Large or bold text, headings
#D178E7 text on black 7.55:1 AAA Lc -48.6 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #ECCDF4

    oklch(88.6% 0.062 319.3)

  4. Step 300

    300

    #E0A9EE

    oklch(80.8% 0.112 319.3)

  5. Step 400

    400 (this color)

    #D178E7

    oklch(71.1% 0.179 319.4)

  6. Step 500

    500

    #C24BDE

    oklch(63.1% 0.229 319.4)

  7. Step 600

    600

    #AD1FCB

    oklch(55.5% 0.249 319.4)

  8. Step 700

    700

    #9509B0

    oklch(49.1% 0.232 319.5)

  9. Step 800

    800

    #79128E

    oklch(42.7% 0.192 319.7)

  10. Step 900

    900

    #621B72

    oklch(37.8% 0.15 319.5)

  11. Step 950

    950

    #391243

    oklch(27% 0.095 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#D178E7 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)#6595EB0.163
Deuteranopia (no green cones)#7F9EE40.145
Tritanopia (no blue cones)#D287A50.113
Achromatopsia (no color)#9B9B9B0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178E7

    #D178E7

    oklch(71.1% 0.179 319.4)

  • #5FBB45

    #5FBB45

    oklch(71% 0.178 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178E7

    #D178E7

    oklch(71.1% 0.179 319.4)

  • #A18DFF

    #A18DFF

    oklch(71% 0.163 289.7)

  • #F06CB2

    #F06CB2

    oklch(71.1% 0.179 349.6)

Open the analogous palette in the generator

Split complementary

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

  • #D178E7

    #D178E7

    oklch(71.1% 0.179 319.4)

  • #A9A900

    #A9A900

    oklch(71.1% 0.155 109.8)

  • #00BD93

    #00BD93

    oklch(71% 0.141 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178E7

    #D178E7

    oklch(71.1% 0.179 319.4)

  • #D29500

    #D29500

    oklch(71.1% 0.148 79.4)

  • #00B8BF

    #00B8BF

    oklch(71.1% 0.121 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178E7

    #D178E7

    oklch(71.1% 0.179 319.4)

  • #F7791F

    #F7791F

    oklch(71.1% 0.179 49.5)

  • #5FBB45

    #5FBB45

    oklch(71% 0.178 139.4)

  • #00B1E8

    #00B1E8

    oklch(71.2% 0.141 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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