#CF45B9#CF45B9

#CF45B9 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.214 H 334.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF45B9
RGBrgb(207, 69, 185)
HSLhsl(310, 59%, 54%)
HSVhsv(310, 67%, 81%)
CMYKcmyk(0%, 66.7%, 10.6%, 18.8%)
CIE-LABlab(52.98, 66.49, -33.31)
CIE-LCHlch(52.98, 74.37, 333.39°)
OKLaboklab(62.27% 0.1935 -0.0909)
OKLCHoklch(62.27% 0.214 334.8)
XYZxyz(36.6175, 21.0275, 48.0197)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B9 #45CF5B
analogous
#A045CF #CF45B9 #CF4574
triadic
#CF45B9 #B9CF45 #45B9CF
tetradic
#CF45B9 #CFA045 #45CF5B #4574CF
square
#CF45B9 #CFA045 #45CF5B #4574CF
split-complementary
#CF45B9 #74CF45 #45CFA0
monochromatic
#7A206C #AB2C97 #CF45B9 #DC76CB #E8A6DE

Accessibility & contrast

On white

4.03
#CF45B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF45B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B9#FFFFFF#000000##000000
##CF45B91.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BC
Deuteranopia (green-blind)
#7286B6
Tritanopia (blue-blind)
#D94F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b9;
/* rgb */ color: rgb(207, 69, 185);
/* oklch */ color: oklch(62.3% 0.214 334.8);
Tailwind
colors: {
  custom: {
    50: '#e183ce',
    500: '#cf45b9',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b9;
$custom-light: #e183ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b9",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 309.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.21373,
    "h": 334.8
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#CF45B9
secondary
#9BD5A4
accent
#E25F46
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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