#DC38FF#DC38FF

#DC38FF is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 67.0% C 0.286 H 319.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#DC38FF
RGBrgb(220, 56, 255)
HSLhsl(289, 100%, 61%)
HSVhsv(289, 78%, 100%)
CMYKcmyk(13.7%, 78%, 0%, 0%)
CIE-LABlab(57.33, 84.76, -65.93)
CIE-LCHlch(57.33, 107.38, 322.12°)
OKLaboklab(67% 0.2179 -0.1852)
OKLCHoklch(67% 0.286 319.6)
XYZxyz(48.9771, 25.2665, 96.8855)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC38FF #5BFF38
analogous
#7838FF #DC38FF #FF38BF
triadic
#DC38FF #FFDC38 #38FFDC
tetradic
#DC38FF #FF7838 #5BFF38 #38BFFF
square
#DC38FF #FF7838 #5BFF38 #38BFFF
split-complementary
#DC38FF #BFFF38 #38FF78
monochromatic
#9B00BD #CE00FA #DC38FF #E775FF #F2B2FF

Accessibility & contrast

On white

3.47
#DC38FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#DC38FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC38FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC38FF#FFFFFF#000000##000000
##DC38FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#DC649C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #dc38ff;
/* rgb */ color: rgb(220, 56, 255);
/* oklch */ color: oklch(67.0% 0.286 319.6);
Tailwind
colors: {
  custom: {
    50: '#ec81ff',
    500: '#dc38ff',
    950: '#000000',
  },
}
SCSS
$custom: #dc38ff;
$custom-light: #ec81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc38ff",
  "rgb": {
    "r": 220,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 289.447,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67001,
    "c": 0.286,
    "h": 319.6
  },
  "luminance": 0.25264
}

Semantic roles & 50–950 ramp

primary
#DC38FF
secondary
#B1EFA4
accent
#E60028
background
#FFF8FF
surface
#FEF0FF
border
#D6CBD7
text
#170C18
muted
#857D86

Preview Lab

Preview with #DC38FF

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

Preview Lab → · Contrast checker → · Palette generator →

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