#D799FB#D799FB

#D799FB is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.8% C 0.149 H 312.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#D799FB
RGBrgb(215, 153, 251)
HSLhsl(278, 92%, 79%)
HSVhsv(278, 39%, 98%)
CMYKcmyk(14.3%, 39%, 0%, 1.6%)
CIE-LABlab(72.36, 40.36, -39.96)
CIE-LCHlch(72.36, 56.79, 315.29°)
OKLaboklab(77.8% 0.1006 -0.1104)
OKLCHoklch(77.8% 0.149 312.3)
XYZxyz(56.8252, 44.1956, 96.7852)
Luminance0.4420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799FB #BDFB99
analogous
#A699FB #D799FB #FB99EE
triadic
#D799FB #FBD799 #99FBD7
tetradic
#D799FB #FBA699 #BDFB99 #99EEFB
square
#D799FB #FBA699 #BDFB99 #99EEFB
split-complementary
#D799FB #EEFB99 #99FBA6
monochromatic
#A923F6 #C05EF9 #D799FB #EED4FD #F3E2FE

Accessibility & contrast

On white

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

On black

9.84
#D799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799FB
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799FB#FFFFFF#000000##000000
##D799FB1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d799fb;
/* rgb */ color: rgb(215, 153, 251);
/* oklch */ color: oklch(77.8% 0.149 312.3);
Tailwind
colors: {
  custom: {
    50: '#e5b8fd',
    500: '#d799fb',
    950: '#000000',
  },
}
SCSS
$custom: #d799fb;
$custom-light: #e5b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d799fb",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 277.959,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77798,
    "c": 0.14934,
    "h": 312.3
  },
  "luminance": 0.44195
}

Semantic roles & 50–950 ramp

primary
#D799FB
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D799FB

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

Preview Lab → · Contrast checker → · Palette generator →

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