#DB98FB#DB98FB

#DB98FB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.0% C 0.153 H 314.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#DB98FB
RGBrgb(219, 152, 251)
HSLhsl(281, 93%, 79%)
HSVhsv(281, 39%, 98%)
CMYKcmyk(12.7%, 39.4%, 0%, 1.6%)
CIE-LABlab(72.55, 42.05, -39.63)
CIE-LCHlch(72.55, 57.78, 316.70°)
OKLaboklab(78.04% 0.1066 -0.1094)
OKLCHoklch(78.04% 0.153 314.3)
XYZxyz(57.8515, 44.4828, 96.7866)
Luminance0.4448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98FB #B8FB98
analogous
#AA98FB #DB98FB #FB98EA
triadic
#DB98FB #FBDB98 #98FBDB
tetradic
#DB98FB #FBAA98 #B8FB98 #98EAFB
square
#DB98FB #FBAA98 #B8FB98 #98EAFB
split-complementary
#DB98FB #EAFB98 #98FBAA
monochromatic
#B222F6 #C65DF9 #DB98FB #F0D3FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.90
#DB98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98FB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98FB#FFFFFF#000000##000000
##DB98FB1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98fb;
/* rgb */ color: rgb(219, 152, 251);
/* oklch */ color: oklch(78.0% 0.153 314.3);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#db98fb',
    950: '#000000',
  },
}
SCSS
$custom: #db98fb;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db98fb",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 280.606,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.15271,
    "h": 314.3
  },
  "luminance": 0.44482
}

Semantic roles & 50–950 ramp

primary
#DB98FB
secondary
#E0F6D5
accent
#E6004A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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