#DB9CF2#DB9CF2

#DB9CF2 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.3% C 0.136 H 316.7°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#DB9CF2
RGBrgb(219, 156, 242)
HSLhsl(284, 77%, 78%)
HSVhsv(284, 36%, 95%)
CMYKcmyk(9.5%, 35.5%, 0%, 5.1%)
CIE-LABlab(73.06, 38.10, -33.95)
CIE-LCHlch(73.06, 51.03, 318.29°)
OKLaboklab(78.3% 0.0989 -0.0932)
OKLCHoklch(78.3% 0.136 316.7)
XYZxyz(57.1265, 45.2492, 89.7118)
Luminance0.4525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9CF2 #B3F29C
analogous
#B09CF2 #DB9CF2 #F29CDE
triadic
#DB9CF2 #F2DB9C #9CF2DB
tetradic
#DB9CF2 #F2B09C #B3F29C #9CDEF2
square
#DB9CF2 #F2B09C #B3F29C #9CDEF2
split-complementary
#DB9CF2 #DEF29C #9CF2B0
monochromatic
#B430E4 #C766EB #DB9CF2 #EFD2F9 #F5E4FB

Accessibility & contrast

On white

2.09
#DB9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#DB9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9CF2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9CF2#FFFFFF#000000##000000
##DB9CF21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#DBA7BC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #db9cf2;
/* rgb */ color: rgb(219, 156, 242);
/* oklch */ color: oklch(78.3% 0.136 316.7);
Tailwind
colors: {
  custom: {
    50: '#e7baf6',
    500: '#db9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #db9cf2;
$custom-light: #e7baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db9cf2",
  "rgb": {
    "r": 219,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 283.953,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78297,
    "c": 0.1359,
    "h": 316.7
  },
  "luminance": 0.45248
}

Semantic roles & 50–950 ramp

primary
#DB9CF2
secondary
#DFF3D8
accent
#D90C43
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DB9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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