#CD45E4#CD45E4

#CD45E4 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.3% C 0.246 H 321.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CD45E4
RGBrgb(205, 69, 228)
HSLhsl(291, 75%, 58%)
HSVhsv(291, 70%, 89%)
CMYKcmyk(10.1%, 69.7%, 0%, 10.6%)
CIE-LABlab(54.91, 73.10, -54.86)
CIE-LCHlch(54.91, 91.40, 323.11°)
OKLaboklab(64.32% 0.1927 -0.1533)
OKLCHoklch(64.32% 0.246 321.5)
XYZxyz(41.3070, 22.8390, 75.6164)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45E4 #5CE445
analogous
#7D45E4 #CD45E4 #E445AB
triadic
#CD45E4 #E4CD45 #45E4CD
tetradic
#CD45E4 #E47D45 #5CE445 #45ABE4
square
#CD45E4 #E47D45 #5CE445 #45ABE4
split-complementary
#CD45E4 #ABE445 #45E47D
monochromatic
#861698 #B41ECE #CD45E4 #DB7AEC #EAB0F4

Accessibility & contrast

On white

3.77
#CD45E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD45E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45E4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45E4#FFFFFF#000000##000000
##CD45E41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#CF6290
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd45e4;
/* rgb */ color: rgb(205, 69, 228);
/* oklch */ color: oklch(64.3% 0.246 321.5);
Tailwind
colors: {
  custom: {
    50: '#e084ed',
    500: '#cd45e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd45e4;
$custom-light: #e084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45e4",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 291.321,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64318,
    "c": 0.24626,
    "h": 321.5
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#CD45E4
secondary
#ACE2A3
accent
#F13752
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD45E4

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

Preview Lab → · Contrast checker → · Palette generator →

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