#D22BCD#D22BCD

#D22BCD is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.7% C 0.256 H 329.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D22BCD
RGBrgb(210, 43, 205)
HSLhsl(302, 66%, 50%)
HSVhsv(302, 80%, 82%)
CMYKcmyk(0%, 79.5%, 2.4%, 17.6%)
CIE-LABlab(51.66, 78.21, -46.91)
CIE-LCHlch(51.66, 91.20, 329.04°)
OKLaboklab(61.74% 0.2207 -0.1299)
OKLCHoklch(61.74% 0.256 329.5)
XYZxyz(38.4614, 19.8402, 59.5496)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22BCD #2BD230
analogous
#832BD2 #D22BCD #D22B7A
triadic
#D22BCD #CDD22B #2BCDD2
tetradic
#D22BCD #D2832B #2BD230 #2B7AD2
square
#D22BCD #D2832B #2BD230 #2B7AD2
split-complementary
#D22BCD #7AD22B #2BD283
monochromatic
#6C166A #9F219B #D22BCD #DE5CDA #E88FE5

Accessibility & contrast

On white

4.23
#D22BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D22BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22BCD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22BCD#FFFFFF#000000##000000
##D22BCD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#DA467D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d22bcd;
/* rgb */ color: rgb(210, 43, 205);
/* oklch */ color: oklch(61.7% 0.256 329.5);
Tailwind
colors: {
  custom: {
    50: '#e479dd',
    500: '#d22bcd',
    950: '#000000',
  },
}
SCSS
$custom: #d22bcd;
$custom-light: #e479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d22bcd",
  "rgb": {
    "r": 210,
    "g": 43,
    "b": 205
  },
  "hsl": {
    "h": 301.796,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.25605,
    "h": 329.5
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#D22BCD
secondary
#86D389
accent
#E9443F
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D22BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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