#DC38DB#DC38DB

#DC38DB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.8% C 0.259 H 328.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DC38DB
RGBrgb(220, 56, 219)
HSLhsl(300, 70%, 54%)
HSVhsv(300, 75%, 86%)
CMYKcmyk(0%, 74.5%, 0.5%, 13.7%)
CIE-LABlab(55.24, 78.89, -49.11)
CIE-LCHlch(55.24, 92.93, 328.10°)
OKLaboklab(64.85% 0.2206 -0.1361)
OKLCHoklch(64.85% 0.259 328.3)
XYZxyz(43.7151, 23.1617, 69.1723)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC38DB #38DC39
analogous
#8B38DC #DC38DB #DC3889
triadic
#DC38DB #DBDC38 #38DBDC
tetradic
#DC38DB #DC8B38 #38DC39 #3889DC
square
#DC38DB #DC8B38 #38DC39 #3889DC
split-complementary
#DC38DB #89DC38 #38DC8B
monochromatic
#831782 #B720B6 #DC38DB #E56CE4 #EEA0EE

Accessibility & contrast

On white

3.73
#DC38DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DC38DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC38DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC38DB#FFFFFF#000000##000000
##DC38DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#E35288
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc38db;
/* rgb */ color: rgb(220, 56, 219);
/* oklch */ color: oklch(64.8% 0.259 328.3);
Tailwind
colors: {
  custom: {
    50: '#eb80e7',
    500: '#dc38db',
    950: '#000000',
  },
}
SCSS
$custom: #dc38db;
$custom-light: #eb80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc38db",
  "rgb": {
    "r": 220,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 300.366,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.25922,
    "h": 328.3
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#DC38DB
secondary
#95DB95
accent
#ED3C3B
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DC38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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