#D030C5#D030C5

#D030C5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.245 H 331.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D030C5
RGBrgb(208, 48, 197)
HSLhsl(304, 63%, 50%)
HSVhsv(304, 77%, 82%)
CMYKcmyk(0%, 76.9%, 5.3%, 18.4%)
CIE-LABlab(51.33, 75.33, -42.83)
CIE-LCHlch(51.33, 86.66, 330.38°)
OKLaboklab(61.31% 0.2151 -0.1181)
OKLCHoklch(61.31% 0.245 331.2)
XYZxyz(37.1474, 19.5581, 54.6311)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D030C5 #30D03B
analogous
#8B30D0 #D030C5 #D03075
triadic
#D030C5 #C5D030 #30C5D0
tetradic
#D030C5 #D08B30 #30D03B #3075D0
square
#D030C5 #D08B30 #30D03B #3075D0
split-complementary
#D030C5 #75D030 #30D08B
monochromatic
#6D1967 #9F2496 #D030C5 #DB62D3 #E794E1

Accessibility & contrast

On white

4.28
#D030C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D030C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D030C5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D030C5#FFFFFF#000000##000000
##D030C51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#6582C1
Tritanopia (blue-blind)
#D8467A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d030c5;
/* rgb */ color: rgb(208, 48, 197);
/* oklch */ color: oklch(61.3% 0.245 331.2);
Tailwind
colors: {
  custom: {
    50: '#e37bd7',
    500: '#d030c5',
    950: '#000000',
  },
}
SCSS
$custom: #d030c5;
$custom-light: #e37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d030c5",
  "rgb": {
    "r": 208,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 304.125,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.24539,
    "h": 331.2
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#D030C5
secondary
#8AD28F
accent
#E64D42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D030C5

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

Preview Lab → · Contrast checker → · Palette generator →

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