#DC38DC#DC38DC

#DC38DC is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.9% C 0.260 H 328.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#DC38DC
RGBrgb(220, 56, 220)
HSLhsl(300, 70%, 54%)
HSVhsv(300, 75%, 86%)
CMYKcmyk(0%, 74.5%, 0%, 13.7%)
CIE-LABlab(55.29, 79.05, -49.59)
CIE-LCHlch(55.29, 93.31, 327.90°)
OKLaboklab(64.9% 0.2206 -0.1375)
OKLCHoklch(64.9% 0.26 328.1)
XYZxyz(43.8471, 23.2145, 69.8677)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC38DC #38DC38
analogous
#8A38DC #DC38DC #DC388A
triadic
#DC38DC #DCDC38 #38DCDC
tetradic
#DC38DC #DC8A38 #38DC38 #388ADC
square
#DC38DC #DC8A38 #38DC38 #388ADC
split-complementary
#DC38DC #8ADC38 #38DC8A
monochromatic
#831783 #B720B7 #DC38DC #E56CE5 #EEA0EE

Accessibility & contrast

On white

3.72
#DC38DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#DC38DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC38DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC38DC#FFFFFF#000000##000000
##DC38DC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#668CD8
Tritanopia (blue-blind)
#E35389
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc38dc;
/* rgb */ color: rgb(220, 56, 220);
/* oklch */ color: oklch(64.9% 0.260 328.1);
Tailwind
colors: {
  custom: {
    50: '#eb80e7',
    500: '#dc38dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc38dc;
$custom-light: #eb80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc38dc",
  "rgb": {
    "r": 220,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.25994,
    "h": 328.1
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC38DC

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

Preview Lab → · Contrast checker → · Palette generator →

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