#CD45EA#CD45EA

#CD45EA is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.7% C 0.251 H 320.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD45EA
RGBrgb(205, 69, 234)
HSLhsl(289, 80%, 59%)
HSVhsv(289, 71%, 92%)
CMYKcmyk(12.4%, 70.5%, 0%, 8.2%)
CIE-LABlab(55.26, 74.17, -57.68)
CIE-LCHlch(55.26, 93.96, 322.13°)
OKLaboklab(64.68% 0.1924 -0.1616)
OKLCHoklch(64.68% 0.251 320)
XYZxyz(42.1544, 23.1780, 80.0793)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45EA #62EA45
analogous
#7B45EA #CD45EA #EA45B4
triadic
#CD45EA #EACD45 #45EACD
tetradic
#CD45EA #EA7B45 #62EA45 #45B4EA
square
#CD45EA #EA7B45 #62EA45 #45B4EA
split-complementary
#CD45EA #B4EA45 #45EA7B
monochromatic
#8912A2 #B719D9 #CD45EA #DC7CF0 #EBB3F6

Accessibility & contrast

On white

3.73
#CD45EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD45EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45EA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45EA#FFFFFF#000000##000000
##CD45EA1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#CE6594
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd45ea;
/* rgb */ color: rgb(205, 69, 234);
/* oklch */ color: oklch(64.7% 0.251 320.0);
Tailwind
colors: {
  custom: {
    50: '#e084f1',
    500: '#cd45ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd45ea;
$custom-light: #e084f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45ea",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 289.455,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.25122,
    "h": 320
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#CD45EA
secondary
#B1E6A5
accent
#F63254
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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