#CD1CE2#CD1CE2

#CD1CE2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.5% C 0.278 H 322.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD1CE2
RGBrgb(205, 28, 226)
HSLhsl(294, 78%, 50%)
HSVhsv(294, 88%, 89%)
CMYKcmyk(9.3%, 87.6%, 0%, 11.4%)
CIE-LABlab(51.04, 83.59, -59.93)
CIE-LCHlch(51.04, 102.85, 324.36°)
OKLaboklab(61.54% 0.2221 -0.1679)
OKLCHoklch(61.54% 0.278 322.9)
XYZxyz(39.3182, 19.3031, 73.5917)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD1CE2 #31E21C
analogous
#6A1CE2 #CD1CE2 #E21C94
triadic
#CD1CE2 #E2CD1C #1CE2CD
tetradic
#CD1CE2 #E26A1C #31E21C #1C94E2
square
#CD1CE2 #E26A1C #31E21C #1C94E2
split-complementary
#CD1CE2 #94E21C #1CE26A
monochromatic
#6A0F75 #9C15AC #CD1CE2 #D952EA #E588F0

Accessibility & contrast

On white

4.32
#CD1CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD1CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD1CE2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD1CE2#FFFFFF#000000##000000
##CD1CE21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#D04D87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd1ce2;
/* rgb */ color: rgb(205, 28, 226);
/* oklch */ color: oklch(61.5% 0.278 322.9);
Tailwind
colors: {
  custom: {
    50: '#e176ec',
    500: '#cd1ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cd1ce2;
$custom-light: #e176ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd1ce2",
  "rgb": {
    "r": 205,
    "g": 28,
    "b": 226
  },
  "hsl": {
    "h": 293.636,
    "s": 77.953,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.27841,
    "h": 322.9
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#CD1CE2
secondary
#8ADA80
accent
#F43348
background
#FEF7FE
surface
#FDEEFD
border
#D5C9D5
text
#160A16
muted
#847C84

Preview Lab

Preview with #CD1CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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