#D781DC

Closest named color: Lavender Pink (#DD85D7). oklch(72.6% 0.157 325.1), rgb(215, 129, 220).

Aa

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

About this color

#D781DC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.157 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.018 away. Black text reads best on it, at 8.06:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.157)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.06:1
White text2.60:1

Values

HEX#D781DC
RGBrgb(215, 129, 220)
HSLhsl(297, 57%, 68%)
OKLCHoklch(72.6% 0.157 325.1)

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 #D781DC 2.60:1 Fails Lc -55.7 Large or bold text, headings
Black text on #D781DC 8.06:1 AAA Lc 53.4 Large or bold text, headings
#D781DC text on white 2.60:1 Fails Lc 50.6 Large or bold text, headings
#D781DC text on black 8.06:1 AAA Lc -51.3 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDED

    oklch(88.4% 0.055 325.1)

  4. Step 300

    300

    #E1ABE4

    oklch(80.9% 0.098 324.7)

  5. Step 400

    400 (this color)

    #D781DC

    oklch(72.6% 0.157 325.1)

  6. Step 500

    500

    #C354CA

    oklch(63.1% 0.2 325.3)

  7. Step 600

    600

    #AE31B7

    oklch(55.5% 0.218 325.1)

  8. Step 700

    700

    #95229E

    oklch(49.1% 0.202 324.8)

  9. Step 800

    800

    #791F80

    oklch(42.6% 0.168 324.8)

  10. Step 900

    900

    #622167

    oklch(37.7% 0.131 324.8)

  11. Step 950

    950

    #3A153C

    oklch(27.1% 0.083 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#D781DC 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)#789ADF0.147
Deuteranopia (no green cones)#8FA4D90.132
Tritanopia (no blue cones)#DB8BA40.093
Achromatopsia (no color)#A0A0A00.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #D781DC

    #D781DC

    oklch(72.6% 0.157 325.1)

  • #5FC065

    #5FC065

    oklch(72.7% 0.157 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D781DC

    #D781DC

    oklch(72.6% 0.157 325.1)

  • #AF90FD

    #AF90FD

    oklch(72.6% 0.156 295.3)

  • #F178AB

    #F178AB

    oklch(72.6% 0.158 355.2)

Open the analogous palette in the generator

Split complementary

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

  • #D781DC

    #D781DC

    oklch(72.6% 0.157 325.1)

  • #A4B11E

    #A4B11E

    oklch(72.6% 0.157 115)

  • #00C2A2

    #00C2A2

    oklch(72.7% 0.137 175.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D781DC

    #D781DC

    oklch(72.6% 0.157 325.1)

  • #D19D00

    #D19D00

    oklch(72.5% 0.149 84.7)

  • #00BCCB

    #00BCCB

    oklch(72.6% 0.124 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D781DC

    #D781DC

    oklch(72.6% 0.157 325.1)

  • #F08834

    #F08834

    oklch(72.6% 0.157 55.1)

  • #5FC065

    #5FC065

    oklch(72.7% 0.157 144.9)

  • #00B4F8

    #00B4F8

    oklch(72.6% 0.154 234.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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