#DB3EC2#DB3EC2

#DB3EC2 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.235 H 335.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#DB3EC2
RGBrgb(219, 62, 194)
HSLhsl(310, 69%, 55%)
HSVhsv(310, 72%, 86%)
CMYKcmyk(0%, 71.7%, 11.4%, 14.1%)
CIE-LABlab(54.45, 73.11, -36.06)
CIE-LCHlch(54.45, 81.52, 333.74°)
OKLaboklab(63.84% 0.2135 -0.0985)
OKLCHoklch(63.84% 0.235 335.2)
XYZxyz(40.6742, 22.4039, 53.2107)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB3EC2 #3EDB57
analogous
#A53EDB #DB3EC2 #DB3E74
triadic
#DB3EC2 #C2DB3E #3EC2DB
tetradic
#DB3EC2 #DBA53E #3EDB57 #3E74DB
square
#DB3EC2 #DBA53E #3EDB57 #3E74DB
split-complementary
#DB3EC2 #74DB3E #3EDBA5
monochromatic
#861974 #B923A1 #DB3EC2 #E572D2 #EEA5E3

Accessibility & contrast

On white

3.83
#DB3EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#DB3EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB3EC2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB3EC2#FFFFFF#000000##000000
##DB3EC21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#758BBE
Tritanopia (blue-blind)
#E64A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db3ec2;
/* rgb */ color: rgb(219, 62, 194);
/* oklch */ color: oklch(63.8% 0.235 335.2);
Tailwind
colors: {
  custom: {
    50: '#ea81d5',
    500: '#db3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #db3ec2;
$custom-light: #ea81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#db3ec2",
  "rgb": {
    "r": 219,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 309.554,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.23508,
    "h": 335.2
  },
  "luminance": 0.224
}

Semantic roles & 50–950 ramp

primary
#DB3EC2
secondary
#99DBA4
accent
#EB583C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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