#CF45C5#CF45C5

#CF45C5 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.9% C 0.223 H 330.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CF45C5
RGBrgb(207, 69, 197)
HSLhsl(304, 59%, 54%)
HSVhsv(304, 67%, 81%)
CMYKcmyk(0%, 66.7%, 4.8%, 18.8%)
CIE-LABlab(53.55, 68.35, -39.34)
CIE-LCHlch(53.55, 78.86, 330.08°)
OKLaboklab(62.87% 0.1945 -0.1082)
OKLCHoklch(62.87% 0.223 330.9)
XYZxyz(37.9382, 21.5557, 54.9750)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45C5 #45CF4F
analogous
#9445CF #CF45C5 #CF4580
triadic
#CF45C5 #C5CF45 #45C5CF
tetradic
#CF45C5 #CF9445 #45CF4F #4580CF
square
#CF45C5 #CF9445 #45CF4F #4580CF
split-complementary
#CF45C5 #80CF45 #45CF94
monochromatic
#7A2074 #AB2CA2 #CF45C5 #DC76D4 #E8A6E3

Accessibility & contrast

On white

3.95
#CF45C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CF45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45C5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45C5#FFFFFF#000000##000000
##CF45C51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#6D87C1
Tritanopia (blue-blind)
#D7547F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf45c5;
/* rgb */ color: rgb(207, 69, 197);
/* oklch */ color: oklch(62.9% 0.223 330.9);
Tailwind
colors: {
  custom: {
    50: '#e183d7',
    500: '#cf45c5',
    950: '#000000',
  },
}
SCSS
$custom: #cf45c5;
$custom-light: #e183d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45c5",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 304.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6287,
    "c": 0.2226,
    "h": 330.9
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#CF45C5
secondary
#9BD59F
accent
#E25146
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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