#DB98FC#DB98FC

#DB98FC is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.1% C 0.154 H 313.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#DB98FC
RGBrgb(219, 152, 252)
HSLhsl(280, 94%, 79%)
HSVhsv(280, 40%, 99%)
CMYKcmyk(13.1%, 39.7%, 0%, 1.2%)
CIE-LABlab(72.59, 42.26, -40.11)
CIE-LCHlch(72.59, 58.26, 316.50°)
OKLaboklab(78.08% 0.1068 -0.1107)
OKLCHoklch(78.08% 0.154 313.9)
XYZxyz(58.0095, 44.5460, 97.6190)
Luminance0.4455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98FC #B9FC98
analogous
#A998FC #DB98FC #FC98EB
triadic
#DB98FC #FCDB98 #98FCDB
tetradic
#DB98FC #FCA998 #B9FC98 #98EBFC
square
#DB98FC #FCA998 #B9FC98 #98EBFC
split-complementary
#DB98FC #EBFC98 #98FCA9
monochromatic
#B121F9 #C65DFA #DB98FC #F0D3FE #F5E1FE

Accessibility & contrast

On white

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

On black

9.91
#DB98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98FC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98FC#FFFFFF#000000##000000
##DB98FC1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#D9A6BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db98fc;
/* rgb */ color: rgb(219, 152, 252);
/* oklch */ color: oklch(78.1% 0.154 313.9);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#db98fc',
    950: '#000000',
  },
}
SCSS
$custom: #db98fc;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db98fc",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 280.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7808,
    "c": 0.15382,
    "h": 313.9
  },
  "luminance": 0.44545
}

Semantic roles & 50–950 ramp

primary
#DB98FC
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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