#CF45D6#CF45D6

#CF45D6 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.8% C 0.236 H 325.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CF45D6
RGBrgb(207, 69, 214)
HSLhsl(297, 64%, 55%)
HSVhsv(297, 68%, 84%)
CMYKcmyk(3.3%, 67.8%, 0%, 16.1%)
CIE-LABlab(54.43, 71.12, -47.68)
CIE-LCHlch(54.43, 85.62, 326.16°)
OKLaboklab(63.78% 0.1952 -0.1323)
OKLCHoklch(63.78% 0.236 325.9)
XYZxyz(39.9970, 22.3793, 65.8182)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45D6 #4CD645
analogous
#8645D6 #CF45D6 #D64595
triadic
#CF45D6 #D6CF45 #45D6CF
tetradic
#CF45D6 #D68645 #4CD645 #4595D6
square
#CF45D6 #D68645 #4CD645 #4595D6
split-complementary
#CF45D6 #95D645 #45D686
monochromatic
#7F1D84 #AF28B6 #CF45D6 #DC77E1 #E9A9EC

Accessibility & contrast

On white

3.84
#CF45D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CF45D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45D6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45D6#FFFFFF#000000##000000
##CF45D61.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2777DA
Deuteranopia (green-blind)
#6488D2
Tritanopia (blue-blind)
#D45B89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf45d6;
/* rgb */ color: rgb(207, 69, 214);
/* oklch */ color: oklch(63.8% 0.236 325.9);
Tailwind
colors: {
  custom: {
    50: '#e184e3',
    500: '#cf45d6',
    950: '#000000',
  },
}
SCSS
$custom: #cf45d6;
$custom-light: #e184e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45d6",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 297.103,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63784,
    "c": 0.23582,
    "h": 325.9
  },
  "luminance": 0.22377
}

Semantic roles & 50–950 ramp

primary
#CF45D6
secondary
#A0DA9D
accent
#E74149
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CF45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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