#DB98FD#DB98FD

#DB98FD is a light, vivid violet. Relative luminance 0.446; OKLCH L 78.1% C 0.155 H 313.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#DB98FD
RGBrgb(219, 152, 253)
HSLhsl(280, 96%, 79%)
HSVhsv(280, 40%, 99%)
CMYKcmyk(13.4%, 39.9%, 0%, 0.8%)
CIE-LABlab(72.63, 42.46, -40.58)
CIE-LCHlch(72.63, 58.74, 316.30°)
OKLaboklab(78.13% 0.1069 -0.1121)
OKLCHoklch(78.13% 0.155 313.6)
XYZxyz(58.1684, 44.6096, 98.4557)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98FD #BAFD98
analogous
#A998FD #DB98FD #FD98ED
triadic
#DB98FD #FDDB98 #98FDDB
tetradic
#DB98FD #FDA998 #BAFD98 #98EDFD
square
#DB98FD #FDA998 #BAFD98 #98EDFD
split-complementary
#DB98FD #EDFD98 #98FDA9
monochromatic
#B120FB #C65CFC #DB98FD #F0D4FE #F5E1FE

Accessibility & contrast

On white

2.12
#DB98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#DB98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98FD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98FD#FFFFFF#000000##000000
##DB98FD1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#D8A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db98fd;
/* rgb */ color: rgb(219, 152, 253);
/* oklch */ color: oklch(78.1% 0.155 313.6);
Tailwind
colors: {
  custom: {
    50: '#e7b7fe',
    500: '#db98fd',
    950: '#000000',
  },
}
SCSS
$custom: #db98fd;
$custom-light: #e7b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db98fd",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 279.802,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.15494,
    "h": 313.6
  },
  "luminance": 0.44608
}

Semantic roles & 50–950 ramp

primary
#DB98FD
secondary
#E0F7D4
accent
#E6004D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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