#DB38FF#DB38FF

#DB38FF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.9% C 0.286 H 319.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#DB38FF
RGBrgb(219, 56, 255)
HSLhsl(289, 100%, 61%)
HSVhsv(289, 78%, 100%)
CMYKcmyk(14.1%, 78%, 0%, 0%)
CIE-LABlab(57.18, 84.59, -66.18)
CIE-LCHlch(57.18, 107.40, 321.96°)
OKLaboklab(66.86% 0.2168 -0.186)
OKLCHoklch(66.86% 0.286 319.4)
XYZxyz(48.6752, 25.1109, 96.8713)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB38FF #5CFF38
analogous
#7738FF #DB38FF #FF38BF
triadic
#DB38FF #FFDB38 #38FFDB
tetradic
#DB38FF #FF7738 #5CFF38 #38BFFF
square
#DB38FF #FF7738 #5CFF38 #38BFFF
split-complementary
#DB38FF #BFFF38 #38FF77
monochromatic
#9A00BD #CD00FA #DB38FF #E675FF #F1B2FF

Accessibility & contrast

On white

3.49
#DB38FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#DB38FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB38FF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB38FF#FFFFFF#000000##000000
##DB38FF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#498EFB
Tritanopia (blue-blind)
#DB659C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db38ff;
/* rgb */ color: rgb(219, 56, 255);
/* oklch */ color: oklch(66.9% 0.286 319.4);
Tailwind
colors: {
  custom: {
    50: '#eb81ff',
    500: '#db38ff',
    950: '#000000',
  },
}
SCSS
$custom: #db38ff;
$custom-light: #eb81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db38ff",
  "rgb": {
    "r": 219,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 289.146,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.28565,
    "h": 319.4
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB38FF

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

Preview Lab → · Contrast checker → · Palette generator →

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