#DB98F8#DB98F8

#DB98F8 is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.9% C 0.149 H 315.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#DB98F8
RGBrgb(219, 152, 248)
HSLhsl(282, 87%, 78%)
HSVhsv(282, 39%, 97%)
CMYKcmyk(11.7%, 38.7%, 0%, 2.7%)
CIE-LABlab(72.43, 41.44, -38.19)
CIE-LCHlch(72.43, 56.36, 317.34°)
OKLaboklab(77.9% 0.106 -0.1053)
OKLCHoklch(77.9% 0.149 315.2)
XYZxyz(57.3823, 44.2952, 94.3158)
Luminance0.4429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98F8 #B5F898
analogous
#AB98F8 #DB98F8 #F898E5
triadic
#DB98F8 #F8DB98 #98F8DB
tetradic
#DB98F8 #F8AB98 #B5F898 #98E5F8
square
#DB98F8 #F8AB98 #B5F898 #98E5F8
split-complementary
#DB98F8 #E5F898 #98F8AB
monochromatic
#B325F0 #C75FF4 #DB98F8 #EFD1FC #F5E2FD

Accessibility & contrast

On white

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

On black

9.86
#DB98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98F8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98F8#FFFFFF#000000##000000
##DB98F81.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFC
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#D9A5BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db98f8;
/* rgb */ color: rgb(219, 152, 248);
/* oklch */ color: oklch(77.9% 0.149 315.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7fb',
    500: '#db98f8',
    950: '#000000',
  },
}
SCSS
$custom: #db98f8;
$custom-light: #e7b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db98f8",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 281.875,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.779,
    "c": 0.14935,
    "h": 315.2
  },
  "luminance": 0.44294
}

Semantic roles & 50–950 ramp

primary
#DB98F8
secondary
#DFF5D6
accent
#E40246
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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