#D22BCA#D22BCA

#D22BCA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.6% C 0.254 H 330.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D22BCA
RGBrgb(210, 43, 202)
HSLhsl(303, 66%, 50%)
HSVhsv(303, 80%, 82%)
CMYKcmyk(0%, 79.5%, 3.8%, 17.6%)
CIE-LABlab(51.49, 77.76, -45.44)
CIE-LCHlch(51.49, 90.06, 329.70°)
OKLaboklab(61.57% 0.2207 -0.1256)
OKLCHoklch(61.57% 0.254 330.4)
XYZxyz(38.1028, 19.6968, 57.6607)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22BCA #2BD233
analogous
#862BD2 #D22BCA #D22B77
triadic
#D22BCA #CAD22B #2BCAD2
tetradic
#D22BCA #D2862B #2BD233 #2B77D2
square
#D22BCA #D2862B #2BD233 #2B77D2
split-complementary
#D22BCA #77D22B #2BD286
monochromatic
#6C1668 #9F2199 #D22BCA #DE5CD8 #E88FE4

Accessibility & contrast

On white

4.25
#D22BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D22BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22BCA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22BCA#FFFFFF#000000##000000
##D22BCA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#086CCE
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#DA457B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d22bca;
/* rgb */ color: rgb(210, 43, 202);
/* oklch */ color: oklch(61.6% 0.254 330.4);
Tailwind
colors: {
  custom: {
    50: '#e479db',
    500: '#d22bca',
    950: '#000000',
  },
}
SCSS
$custom: #d22bca;
$custom-light: #e479db;
$custom-dark: #000000;
JSON
{
  "hex": "#d22bca",
  "rgb": {
    "r": 210,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 302.874,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.25397,
    "h": 330.4
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#D22BCA
secondary
#86D38A
accent
#E9473F
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D22BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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