#DB38C0#DB38C0

#DB38C0 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.3% C 0.240 H 335.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DB38C0
RGBrgb(219, 56, 192)
HSLhsl(310, 69%, 54%)
HSVhsv(310, 74%, 86%)
CMYKcmyk(0%, 74.4%, 12.3%, 14.1%)
CIE-LABlab(53.70, 74.69, -36.08)
CIE-LCHlch(53.70, 82.95, 334.21°)
OKLaboklab(63.27% 0.2188 -0.0985)
OKLCHoklch(63.27% 0.24 335.8)
XYZxyz(40.1426, 21.6978, 51.9329)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38C0 #38DB53
analogous
#A538DB #DB38C0 #DB386F
triadic
#DB38C0 #C0DB38 #38C0DB
tetradic
#DB38C0 #DBA538 #38DB53 #386FDB
square
#DB38C0 #DBA538 #38DB53 #386FDB
split-complementary
#DB38C0 #6FDB38 #38DBA5
monochromatic
#811770 #B5219C #DB38C0 #E46CD0 #EEA0E1

Accessibility & contrast

On white

3.93
#DB38C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DB38C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38C0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38C0#FFFFFF#000000##000000
##DB38C01.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#E64579
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db38c0;
/* rgb */ color: rgb(219, 56, 192);
/* oklch */ color: oklch(63.3% 0.240 335.8);
Tailwind
colors: {
  custom: {
    50: '#ea7fd3',
    500: '#db38c0',
    950: '#000000',
  },
}
SCSS
$custom: #db38c0;
$custom-light: #ea7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#db38c0",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 309.939,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63271,
    "c": 0.23995,
    "h": 335.8
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#DB38C0
secondary
#95DAA0
accent
#EC593C
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DB38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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