#CF45C2#CF45C2

#CF45C2 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.220 H 331.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CF45C2
RGBrgb(207, 69, 194)
HSLhsl(306, 59%, 54%)
HSVhsv(306, 67%, 81%)
CMYKcmyk(0%, 66.7%, 6.3%, 18.8%)
CIE-LABlab(53.41, 67.88, -37.84)
CIE-LCHlch(53.41, 77.71, 330.86°)
OKLaboklab(62.72% 0.1943 -0.1039)
OKLCHoklch(62.72% 0.22 331.9)
XYZxyz(37.5979, 21.4196, 53.1826)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45C2 #45CF52
analogous
#9745CF #CF45C2 #CF457D
triadic
#CF45C2 #C2CF45 #45C2CF
tetradic
#CF45C2 #CF9745 #45CF52 #457DCF
square
#CF45C2 #CF9745 #45CF52 #457DCF
split-complementary
#CF45C2 #7DCF45 #45CF97
monochromatic
#7A2072 #AB2C9F #CF45C2 #DC76D2 #E8A6E2

Accessibility & contrast

On white

3.97
#CF45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CF45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45C2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45C2#FFFFFF#000000##000000
##CF45C21.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C6
Deuteranopia (green-blind)
#6E87BE
Tritanopia (blue-blind)
#D7537E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf45c2;
/* rgb */ color: rgb(207, 69, 194);
/* oklch */ color: oklch(62.7% 0.220 331.9);
Tailwind
colors: {
  custom: {
    50: '#e183d5',
    500: '#cf45c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf45c2;
$custom-light: #e183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45c2",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 305.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62716,
    "c": 0.22034,
    "h": 331.9
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#CF45C2
secondary
#9BD5A0
accent
#E25446
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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