#DB0CDC#DB0CDC

#DB0CDC is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.8% C 0.285 H 328.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#DB0CDC
RGBrgb(219, 12, 220)
HSLhsl(300, 90%, 45%)
HSVhsv(300, 95%, 86%)
CMYKcmyk(0.5%, 94.5%, 0%, 13.7%)
CIE-LABlab(52.39, 86.84, -54.23)
CIE-LCHlch(52.39, 102.38, 328.02°)
OKLaboklab(62.82% 0.2422 -0.1508)
OKLCHoklch(62.82% 0.285 328.1)
XYZxyz(42.2627, 20.4937, 69.4260)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB0CDC #0DDC0C
analogous
#730CDC #DB0CDC #DC0C75
triadic
#DB0CDC #DCDB0C #0CDCDB
tetradic
#DB0CDC #DC730C #0DDC0C #0C75DC
square
#DB0CDC #DC730C #0DDC0C #0C75DC
split-complementary
#DB0CDC #75DC0C #0CDC73
monochromatic
#670668 #A109A2 #DB0CDC #F331F4 #F66BF7

Accessibility & contrast

On white

4.12
#DB0CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#DB0CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB0CDC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB0CDC#FFFFFF#000000##000000
##DB0CDC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#E24182
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #db0cdc;
/* rgb */ color: rgb(219, 12, 220);
/* oklch */ color: oklch(62.8% 0.285 328.1);
Tailwind
colors: {
  custom: {
    50: '#eb75e8',
    500: '#db0cdc',
    950: '#000000',
  },
}
SCSS
$custom: #db0cdc;
$custom-light: #eb75e8;
$custom-dark: #000000;
JSON
{
  "hex": "#db0cdc",
  "rgb": {
    "r": 219,
    "g": 12,
    "b": 220
  },
  "hsl": {
    "h": 299.712,
    "s": 89.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.28532,
    "h": 328.1
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#DB0CDC
secondary
#68DC67
accent
#FF292A
background
#FFF7FE
surface
#FEEEFD
border
#D6C9D5
text
#170A16
muted
#857C84

Preview Lab

Preview with #DB0CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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