#D799FE#D799FE

#D799FE is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.9% C 0.153 H 311.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#D799FE
RGBrgb(215, 153, 254)
HSLhsl(277, 98%, 80%)
HSVhsv(277, 40%, 100%)
CMYKcmyk(15.4%, 39.8%, 0%, 0.4%)
CIE-LABlab(72.49, 40.98, -41.39)
CIE-LCHlch(72.49, 58.25, 314.72°)
OKLaboklab(77.94% 0.1012 -0.1145)
OKLCHoklch(77.94% 0.153 311.5)
XYZxyz(57.3018, 44.3862, 99.2955)
Luminance0.4439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FE #C0FE99
analogous
#A599FE #D799FE #FE99F2
triadic
#D799FE #FED799 #99FED7
tetradic
#D799FE #FEA599 #C0FE99 #99F2FE
square
#D799FE #FEA599 #C0FE99 #99F2FE
split-complementary
#D799FE #F2FE99 #99FEA5
monochromatic
#A720FD #BF5CFD #D799FE #EFD6FF #F3E1FF

Accessibility & contrast

On white

2.13
#D799FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#D799FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799FE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799FE#FFFFFF#000000##000000
##D799FE1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#D3A8C0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d799fe;
/* rgb */ color: rgb(215, 153, 254);
/* oklch */ color: oklch(77.9% 0.153 311.5);
Tailwind
colors: {
  custom: {
    50: '#e5b8ff',
    500: '#d799fe',
    950: '#000000',
  },
}
SCSS
$custom: #d799fe;
$custom-light: #e5b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d799fe",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 276.832,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77936,
    "c": 0.15279,
    "h": 311.5
  },
  "luminance": 0.44385
}

Semantic roles & 50–950 ramp

primary
#D799FE
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D799FE

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

Preview Lab → · Contrast checker → · Palette generator →

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