#D781F0

Closest named color: Violet (#EE82EE). oklch(73.5% 0.177 318.3), rgb(215, 129, 240).

Aa

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

About this color

#D781F0 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.177 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.040 away. Black text reads best on it, at 8.28:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.177)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.28:1
White text2.53:1

Values

HEX#D781F0
RGBrgb(215, 129, 240)
HSLhsl(286, 79%, 72%)
OKLCHoklch(73.5% 0.177 318.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 #D781F0 2.53:1 Fails Lc -54.4 Large or bold text, headings
Black text on #D781F0 8.28:1 AAA Lc 54.7 Large or bold text, headings
#D781F0 text on white 2.53:1 Fails Lc 49.4 Large or bold text, headings
#D781F0 text on black 8.28:1 AAA Lc -52.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

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EBCDF4

    oklch(88.5% 0.062 318.4)

  4. Step 300

    300

    #DFAAEF

    oklch(81% 0.11 318.2)

  5. Step 400

    400 (this color)

    #D781F0

    oklch(73.5% 0.177 318.3)

  6. Step 500

    500

    #C04DDF

    oklch(63.1% 0.227 318.4)

  7. Step 600

    600

    #AB24CC

    oklch(55.5% 0.246 318.4)

  8. Step 700

    700

    #9311B1

    oklch(49.2% 0.229 318.3)

  9. Step 800

    800

    #77168F

    oklch(42.7% 0.189 318.2)

  10. Step 900

    900

    #601D72

    oklch(37.7% 0.146 318.2)

  11. Step 950

    950

    #391343

    oklch(27.1% 0.093 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#D781F0 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)#6E9DF40.157
Deuteranopia (no green cones)#86A6ED0.142
Tritanopia (no blue cones)#D790AD0.114
Achromatopsia (no color)#A3A3A30.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #D781F0

    #D781F0

    oklch(73.5% 0.177 318.3)

  • #6BC24B

    #6BC24B

    oklch(73.4% 0.177 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D781F0

    #D781F0

    oklch(73.5% 0.177 318.3)

  • #A699FF

    #A699FF

    oklch(73.6% 0.145 288.1)

  • #F775BC

    #F775BC

    oklch(73.5% 0.177 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #D781F0

    #D781F0

    oklch(73.5% 0.177 318.3)

  • #B3B000

    #B3B000

    oklch(73.6% 0.159 108.5)

  • #00C698

    #00C698

    oklch(73.4% 0.148 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D781F0

    #D781F0

    oklch(73.5% 0.177 318.3)

  • #DD9B00

    #DD9B00

    oklch(73.5% 0.153 78.2)

  • #00C1C6

    #00C1C6

    oklch(73.6% 0.125 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D781F0

    #D781F0

    oklch(73.5% 0.177 318.3)

  • #FF8133

    #FF8133

    oklch(73.5% 0.176 48.3)

  • #6BC24B

    #6BC24B

    oklch(73.4% 0.177 138.3)

  • #00B9F0

    #00B9F0

    oklch(73.4% 0.144 228.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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