#D780F2

Closest named color: Violet (#EE82EE). oklch(73.5% 0.181 317.8), rgb(215, 128, 242).

Aa

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

About this color

#D780F2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.181 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.041 away. Black text reads best on it, at 8.25:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.181)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.25:1
White text2.54:1

Values

HEX#D780F2
RGBrgb(215, 128, 242)
HSLhsl(286, 81%, 73%)
OKLCHoklch(73.5% 0.181 317.8)

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 #D780F2 2.54:1 Fails Lc -54.6 Large or bold text, headings
Black text on #D780F2 8.25:1 AAA Lc 54.5 Large or bold text, headings
#D780F2 text on white 2.54:1 Fails Lc 49.5 Large or bold text, headings
#D780F2 text on black 8.25:1 AAA Lc -52.5 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

    #F3E3F8

    oklch(93.5% 0.033 318.1)

  3. Step 200

    200

    #EBCDF5

    oklch(88.6% 0.063 317.6)

  4. Step 300

    300

    #DFA9F0

    oklch(80.8% 0.113 317.9)

  5. Step 400

    400 (this color)

    #D780F2

    oklch(73.5% 0.181 317.8)

  6. Step 500

    500

    #C04CE1

    oklch(63.1% 0.23 317.9)

  7. Step 600

    600

    #AB20CF

    oklch(55.5% 0.251 317.7)

  8. Step 700

    700

    #930AB3

    oklch(49.1% 0.233 317.9)

  9. Step 800

    800

    #771391

    oklch(42.6% 0.193 317.6)

  10. Step 900

    900

    #611B74

    oklch(37.8% 0.151 318)

  11. Step 950

    950

    #391244

    oklch(27% 0.096 318)

Export this scale for Tailwind in the Tailwind colors tool

#D780F2 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)#6C9DF60.159
Deuteranopia (no green cones)#85A5EF0.143
Tritanopia (no blue cones)#D790AE0.117
Achromatopsia (no color)#A2A2A20.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #D780F2

    #D780F2

    oklch(73.5% 0.181 317.8)

  • #6BC247

    #6BC247

    oklch(73.4% 0.18 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D780F2

    #D780F2

    oklch(73.5% 0.181 317.8)

  • #A599FF

    #A599FF

    oklch(73.5% 0.145 287.7)

  • #F873BD

    #F873BD

    oklch(73.4% 0.181 348)

Open the analogous palette in the generator

Split complementary

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

  • #D780F2

    #D780F2

    oklch(73.5% 0.181 317.8)

  • #B4AF00

    #B4AF00

    oklch(73.4% 0.158 107.7)

  • #00C697

    #00C697

    oklch(73.4% 0.149 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D780F2

    #D780F2

    oklch(73.5% 0.181 317.8)

  • #DD9B00

    #DD9B00

    oklch(73.5% 0.153 78.2)

  • #00C1C5

    #00C1C5

    oklch(73.6% 0.125 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D780F2

    #D780F2

    oklch(73.5% 0.181 317.8)

  • #FF8035

    #FF8035

    oklch(73.4% 0.176 47.5)

  • #6BC247

    #6BC247

    oklch(73.4% 0.18 137.8)

  • #00B9EF

    #00B9EF

    oklch(73.4% 0.143 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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