#D790FA

Closest named color: Liliac (#C48EFD). oklch(76.3% 0.163 313.8), rgb(215, 144, 250).

Aa

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

About this color

#D790FA is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.163 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.032 away. Black text reads best on it, at 9.25:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.25:1
White text2.26:1

Values

HEX#D790FA
RGBrgb(215, 144, 250)
HSLhsl(280, 91%, 77%)
OKLCHoklch(76.3% 0.163 313.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 #D790FA 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #D790FA 9.25:1 AAA Lc 59.5 Large or bold text, headings
#D790FA text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#D790FA text on black 9.25:1 AAA Lc -57.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 300.

  1. Step 50

    50

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F5E2FF

    oklch(93.7% 0.044 314.2)

  3. Step 200

    200

    #EDCAFF

    oklch(88.5% 0.081 314.1)

  4. Step 300

    300 (this color)

    #D790FA

    oklch(76.3% 0.163 313.8)

  5. Step 400

    400

    #D16CFF

    oklch(70.7% 0.222 313.9)

  6. Step 500

    500

    #C52BFF

    oklch(63.1% 0.288 313.8)

  7. Step 600

    600

    #AA00E0

    oklch(55.6% 0.276 313.7)

  8. Step 700

    700

    #9000BD

    oklch(49.1% 0.243 314.1)

  9. Step 800

    800

    #76009D

    oklch(42.7% 0.212 313.7)

  10. Step 900

    900

    #630084

    oklch(37.6% 0.187 313.8)

  11. Step 950

    950

    #3D0052

    oklch(27% 0.134 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#D790FA 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)#7CA8FE0.133
Deuteranopia (no green cones)#8EAEF70.122
Tritanopia (no blue cones)#D49FB90.112
Achromatopsia (no color)#ACACAC0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #D790FA

    #D790FA

    oklch(76.3% 0.163 313.8)

  • #86C854

    #86C854

    oklch(76.4% 0.164 133.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D790FA

    #D790FA

    oklch(76.3% 0.163 313.8)

  • #A8A7FF

    #A8A7FF

    oklch(76.4% 0.125 283.6)

  • #F884CC

    #F884CC

    oklch(76.3% 0.163 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #D790FA

    #D790FA

    oklch(76.3% 0.163 313.8)

  • #C4B600

    #C4B600

    oklch(76.4% 0.161 104)

  • #00D195

    #00D195

    oklch(76.2% 0.163 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D790FA

    #D790FA

    oklch(76.3% 0.163 313.8)

  • #EE9F00

    #EE9F00

    oklch(76.2% 0.162 73.6)

  • #00CBCA

    #00CBCA

    oklch(76.2% 0.13 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D790FA

    #D790FA

    oklch(76.3% 0.163 313.8)

  • #FF905F

    #FF905F

    oklch(76.3% 0.149 43.8)

  • #86C854

    #86C854

    oklch(76.4% 0.164 133.7)

  • #00C4F5

    #00C4F5

    oklch(76.2% 0.143 224.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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