#CD45FC#CD45FC

#CD45FC is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.8% C 0.266 H 315.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CD45FC
RGBrgb(205, 69, 252)
HSLhsl(285, 97%, 63%)
HSVhsv(285, 73%, 99%)
CMYKcmyk(18.7%, 72.6%, 0%, 1.2%)
CIE-LABlab(56.35, 77.47, -65.96)
CIE-LCHlch(56.35, 101.74, 319.59°)
OKLaboklab(65.81% 0.1907 -0.1858)
OKLCHoklch(65.81% 0.266 315.7)
XYZxyz(44.8729, 24.2654, 94.3966)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45FC #74FC45
analogous
#7145FC #CD45FC #FC45D0
triadic
#CD45FC #FCCD45 #45FCCD
tetradic
#CD45FC #FC7145 #74FC45 #45D0FC
square
#CD45FC #FC7145 #74FC45 #45D0FC
split-complementary
#CD45FC #D0FC45 #45FC71
monochromatic
#9203C3 #BD09FB #CD45FC #DD81FD #EDBDFE

Accessibility & contrast

On white

3.59
#CD45FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CD45FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45FC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45FC#FFFFFF#000000##000000
##CD45FC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#418BF8
Tritanopia (blue-blind)
#CA6C9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd45fc;
/* rgb */ color: rgb(205, 69, 252);
/* oklch */ color: oklch(65.8% 0.266 315.7);
Tailwind
colors: {
  custom: {
    50: '#e185fe',
    500: '#cd45fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd45fc;
$custom-light: #e185fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45fc",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 284.59,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.2663,
    "h": 315.7
  },
  "luminance": 0.24264
}

Semantic roles & 50–950 ramp

primary
#CD45FC
secondary
#BEEFAD
accent
#E6003B
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD45FC

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

Preview Lab → · Contrast checker → · Palette generator →

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