#D799FA#D799FA

#D799FA is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.8% C 0.148 H 312.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#D799FA
RGBrgb(215, 153, 250)
HSLhsl(278, 91%, 79%)
HSVhsv(278, 39%, 98%)
CMYKcmyk(14%, 38.8%, 0%, 2%)
CIE-LABlab(72.32, 40.15, -39.48)
CIE-LCHlch(72.32, 56.31, 315.48°)
OKLaboklab(77.75% 0.1004 -0.109)
OKLCHoklch(77.75% 0.148 312.6)
XYZxyz(56.6680, 44.1327, 95.9572)
Luminance0.4413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FA #BCFA99
analogous
#A799FA #D799FA #FA99EC
triadic
#D799FA #FAD799 #99FAD7
tetradic
#D799FA #FAA799 #BCFA99 #99ECFA
square
#D799FA #FAA799 #BCFA99 #99ECFA
split-complementary
#D799FA #ECFA99 #99FAA7
monochromatic
#A924F4 #C05FF7 #D799FA #EED3FD #F4E2FE

Accessibility & contrast

On white

2.14
#D799FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#D799FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799FA
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799FA#FFFFFF#000000##000000
##D799FA1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#D4A7BE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d799fa;
/* rgb */ color: rgb(215, 153, 250);
/* oklch */ color: oklch(77.8% 0.148 312.6);
Tailwind
colors: {
  custom: {
    50: '#e4b8fc',
    500: '#d799fa',
    950: '#000000',
  },
}
SCSS
$custom: #d799fa;
$custom-light: #e4b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d799fa",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 278.351,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77753,
    "c": 0.14819,
    "h": 312.6
  },
  "luminance": 0.44132
}

Semantic roles & 50–950 ramp

primary
#D799FA
secondary
#E1F6D5
accent
#E60053
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D799FA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D799FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva