#CF45D1#CF45D1

#CF45D1 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.232 H 327.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CF45D1
RGBrgb(207, 69, 209)
HSLhsl(299, 60%, 55%)
HSVhsv(299, 67%, 82%)
CMYKcmyk(1%, 67%, 0%, 18%)
CIE-LABlab(54.16, 70.29, -45.25)
CIE-LCHlch(54.16, 83.59, 327.23°)
OKLaboklab(63.51% 0.1951 -0.1253)
OKLCHoklch(63.51% 0.232 327.3)
XYZxyz(39.3683, 22.1278, 62.5068)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45D1 #47D145
analogous
#8945D1 #CF45D1 #D1458D
triadic
#CF45D1 #D1CF45 #45D1CF
tetradic
#CF45D1 #D18945 #47D145 #458DD1
square
#CF45D1 #D18945 #47D145 #458DD1
split-complementary
#CF45D1 #8DD145 #45D189
monochromatic
#7B1F7D #AC2BAE #CF45D1 #DC76DD #E8A7E9

Accessibility & contrast

On white

3.87
#CF45D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CF45D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45D1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45D1#FFFFFF#000000##000000
##CF45D11.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D5
Deuteranopia (green-blind)
#6788CD
Tritanopia (blue-blind)
#D55986
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf45d1;
/* rgb */ color: rgb(207, 69, 209);
/* oklch */ color: oklch(63.5% 0.232 327.3);
Tailwind
colors: {
  custom: {
    50: '#e184df',
    500: '#cf45d1',
    950: '#000000',
  },
}
SCSS
$custom: #cf45d1;
$custom-light: #e184df;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45d1",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 299.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.23187,
    "h": 327.3
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#CF45D1
secondary
#9CD79B
accent
#E34447
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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