#CD45D8#CD45D8

#CD45D8 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.6% C 0.236 H 324.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD45D8
RGBrgb(205, 69, 216)
HSLhsl(296, 65%, 56%)
HSVhsv(296, 68%, 85%)
CMYKcmyk(5.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(54.23, 71.02, -49.14)
CIE-LCHlch(54.23, 86.36, 325.32°)
OKLaboklab(63.62% 0.193 -0.1367)
OKLCHoklch(63.62% 0.236 324.7)
XYZxyz(39.6986, 22.1957, 67.1456)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45D8 #50D845
analogous
#8345D8 #CD45D8 #D84599
triadic
#CD45D8 #D8CD45 #45D8CD
tetradic
#CD45D8 #D88345 #50D845 #4599D8
square
#CD45D8 #D88345 #50D845 #4599D8
split-complementary
#CD45D8 #99D845 #45D883
monochromatic
#7E1C86 #AE27B9 #CD45D8 #DB78E3 #E8AAED

Accessibility & contrast

On white

3.86
#CD45D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD45D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45D8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45D8#FFFFFF#000000##000000
##CD45D81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2177DC
Deuteranopia (green-blind)
#6187D4
Tritanopia (blue-blind)
#D15D8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd45d8;
/* rgb */ color: rgb(205, 69, 216);
/* oklch */ color: oklch(63.6% 0.236 324.7);
Tailwind
colors: {
  custom: {
    50: '#e084e5',
    500: '#cd45d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd45d8;
$custom-light: #e084e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45d8",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 295.51,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.23648,
    "h": 324.7
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#CD45D8
secondary
#A2DB9E
accent
#E8404C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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