#DB98FE#DB98FE

#DB98FE is a light, vivid violet. Relative luminance 0.447; OKLCH L 78.2% C 0.156 H 313.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#DB98FE
RGBrgb(219, 152, 254)
HSLhsl(279, 98%, 80%)
HSVhsv(279, 40%, 100%)
CMYKcmyk(13.8%, 40.2%, 0%, 0.4%)
CIE-LABlab(72.68, 42.67, -41.06)
CIE-LCHlch(72.68, 59.22, 316.10°)
OKLaboklab(78.17% 0.1071 -0.1135)
OKLCHoklch(78.17% 0.156 313.4)
XYZxyz(58.3281, 44.6735, 99.2969)
Luminance0.4467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98FE #BBFE98
analogous
#A898FE #DB98FE #FE98EE
triadic
#DB98FE #FEDB98 #98FEDB
tetradic
#DB98FE #FEA898 #BBFE98 #98EEFE
square
#DB98FE #FEA898 #BBFE98 #98EEFE
split-complementary
#DB98FE #EEFE98 #98FEA8
monochromatic
#B11FFD #C65BFD #DB98FE #F0D5FF #F4E1FF

Accessibility & contrast

On white

2.11
#DB98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#DB98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98FE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98FE#FFFFFF#000000##000000
##DB98FE1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#D8A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db98fe;
/* rgb */ color: rgb(219, 152, 254);
/* oklch */ color: oklch(78.2% 0.156 313.4);
Tailwind
colors: {
  custom: {
    50: '#e7b7ff',
    500: '#db98fe',
    950: '#000000',
  },
}
SCSS
$custom: #db98fe;
$custom-light: #e7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db98fe",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 279.412,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78172,
    "c": 0.15607,
    "h": 313.4
  },
  "luminance": 0.44672
}

Semantic roles & 50–950 ramp

primary
#DB98FE
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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