#D330C8#D330C8

#D330C8 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.9% C 0.249 H 331.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D330C8
RGBrgb(211, 48, 200)
HSLhsl(304, 65%, 51%)
HSVhsv(304, 77%, 83%)
CMYKcmyk(0%, 77.3%, 5.2%, 17.3%)
CIE-LABlab(51.99, 76.39, -43.49)
CIE-LCHlch(51.99, 87.91, 330.35°)
OKLaboklab(61.92% 0.2181 -0.1199)
OKLCHoklch(61.92% 0.249 331.2)
XYZxyz(38.3462, 20.1361, 56.4994)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D330C8 #30D33B
analogous
#8C30D3 #D330C8 #D33076
triadic
#D330C8 #C8D330 #30C8D3
tetradic
#D330C8 #D38C30 #30D33B #3076D3
square
#D330C8 #D38C30 #30D33B #3076D3
split-complementary
#D330C8 #76D330 #30D38C
monochromatic
#71186B #A3239A #D330C8 #DE62D5 #E895E3

Accessibility & contrast

On white

4.18
#D330C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D330C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D330C8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D330C8#FFFFFF#000000##000000
##D330C81.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#DC467B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d330c8;
/* rgb */ color: rgb(211, 48, 200);
/* oklch */ color: oklch(61.9% 0.249 331.2);
Tailwind
colors: {
  custom: {
    50: '#e57bd9',
    500: '#d330c8',
    950: '#000000',
  },
}
SCSS
$custom: #d330c8;
$custom-light: #e57bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d330c8",
  "rgb": {
    "r": 211,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 304.049,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.24888,
    "h": 331.2
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#D330C8
secondary
#8BD490
accent
#E84B40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #D330C8

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

Preview Lab → · Contrast checker → · Palette generator →

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