#CF45C1#CF45C1

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

Color values

HEX#CF45C1
RGBrgb(207, 69, 193)
HSLhsl(306, 59%, 54%)
HSVhsv(306, 67%, 81%)
CMYKcmyk(0%, 66.7%, 6.8%, 18.8%)
CIE-LABlab(53.36, 67.72, -37.34)
CIE-LCHlch(53.36, 77.33, 331.13°)
OKLaboklab(62.67% 0.1942 -0.1024)
OKLCHoklch(62.67% 0.22 332.2)
XYZxyz(37.4859, 21.3748, 52.5932)
Luminance0.2137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45C1 #45CF53
analogous
#9845CF #CF45C1 #CF457C
triadic
#CF45C1 #C1CF45 #45C1CF
tetradic
#CF45C1 #CF9845 #45CF53 #457CCF
square
#CF45C1 #CF9845 #45CF53 #457CCF
split-complementary
#CF45C1 #7CCF45 #45CF98
monochromatic
#7A2071 #AB2C9E #CF45C1 #DC76D1 #E8A6E1

Accessibility & contrast

On white

3.98
#CF45C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CF45C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45C1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45C1#FFFFFF#000000##000000
##CF45C11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#D8527D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf45c1;
/* rgb */ color: rgb(207, 69, 193);
/* oklch */ color: oklch(62.7% 0.220 332.2);
Tailwind
colors: {
  custom: {
    50: '#e183d4',
    500: '#cf45c1',
    950: '#000000',
  },
}
SCSS
$custom: #cf45c1;
$custom-light: #e183d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45c1",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 306.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.2196,
    "h": 332.2
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

primary
#CF45C1
secondary
#9BD5A1
accent
#E25646
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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