#D178DB

Closest named color: Orchid (#DA70D6). oklch(70.5% 0.167 323.4), rgb(209, 120, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.167)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.42:1
White text2.82:1

Values

HEX#D178DB
RGBrgb(209, 120, 219)
HSLhsl(294, 58%, 66%)
OKLCHoklch(70.5% 0.167 323.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 #D178DB 2.82:1 Fails Lc -59.3 Large or bold text, headings
Black text on #D178DB 7.42:1 AAA Lc 50.0 Large or bold text, headings
#D178DB text on white 2.82:1 Fails Lc 54.0 Large or bold text, headings
#D178DB text on black 7.42:1 AAA Lc -47.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F6

    oklch(93.5% 0.031 322.6)

  3. Step 200

    200

    #EDCDF0

    oklch(88.6% 0.058 323.4)

  4. Step 300

    300

    #E2AAE8

    oklch(81% 0.105 323.2)

  5. Step 400

    400 (this color)

    #D178DB

    oklch(70.5% 0.167 323.4)

  6. Step 500

    500

    #C44FD2

    oklch(63.1% 0.215 323.3)

  7. Step 600

    600

    #AF29BF

    oklch(55.6% 0.233 323.1)

  8. Step 700

    700

    #9618A4

    oklch(49% 0.216 323.3)

  9. Step 800

    800

    #7A1985

    oklch(42.6% 0.179 323.4)

  10. Step 900

    900

    #631E6B

    oklch(37.8% 0.14 323.4)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#D178DB 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)#6C93DE0.156
Deuteranopia (no green cones)#859DD80.139
Tritanopia (no blue cones)#D4849F0.102
Achromatopsia (no color)#9A9A9A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #D178DB

    #D178DB

    oklch(70.5% 0.167 323.4)

  • #56BA55

    #56BA55

    oklch(70.6% 0.168 143.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D178DB

    #D178DB

    oklch(70.5% 0.167 323.4)

  • #A688FD

    #A688FD

    oklch(70.5% 0.167 293.4)

  • #EC6EA8

    #EC6EA8

    oklch(70.4% 0.167 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #D178DB

    #D178DB

    oklch(70.5% 0.167 323.4)

  • #A1A900

    #A1A900

    oklch(70.4% 0.157 113.1)

  • #00BB99

    #00BB99

    oklch(70.6% 0.135 173.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D178DB

    #D178DB

    oklch(70.5% 0.167 323.4)

  • #CB9600

    #CB9600

    oklch(70.5% 0.145 83.2)

  • #00B5C1

    #00B5C1

    oklch(70.4% 0.12 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D178DB

    #D178DB

    oklch(70.5% 0.167 323.4)

  • #EE7D20

    #EE7D20

    oklch(70.5% 0.168 53.2)

  • #56BA55

    #56BA55

    oklch(70.6% 0.168 143.4)

  • #00ADEC

    #00ADEC

    oklch(70.4% 0.147 233.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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