#D332C2#D332C2

#D332C2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.243 H 332.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D332C2
RGBrgb(211, 50, 194)
HSLhsl(306, 65%, 51%)
HSVhsv(306, 76%, 83%)
CMYKcmyk(0%, 76.3%, 8.1%, 17.3%)
CIE-LABlab(51.87, 74.97, -40.22)
CIE-LCHlch(51.87, 85.07, 331.79°)
OKLaboklab(61.73% 0.2164 -0.1105)
OKLCHoklch(61.73% 0.243 332.9)
XYZxyz(37.7424, 20.0284, 52.9066)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D332C2 #32D343
analogous
#9332D3 #D332C2 #D33271
triadic
#D332C2 #C2D332 #32C2D3
tetradic
#D332C2 #D39332 #32D343 #3271D3
square
#D332C2 #D39332 #32D343 #3271D3
split-complementary
#D332C2 #71D332 #32D393
monochromatic
#721869 #A42397 #D332C2 #DE64D1 #E997E0

Accessibility & contrast

On white

4.20
#D332C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D332C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D332C2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D332C2#FFFFFF#000000##000000
##D332C21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#6A84BE
Tritanopia (blue-blind)
#DC4478
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d332c2;
/* rgb */ color: rgb(211, 50, 194);
/* oklch */ color: oklch(61.7% 0.243 332.9);
Tailwind
colors: {
  custom: {
    50: '#e57cd5',
    500: '#d332c2',
    950: '#000000',
  },
}
SCSS
$custom: #d332c2;
$custom-light: #e57cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d332c2",
  "rgb": {
    "r": 211,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 306.335,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.24295,
    "h": 332.9
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#D332C2
secondary
#8DD494
accent
#E85240
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D332C2

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

Preview Lab → · Contrast checker → · Palette generator →

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