#CF45F1#CF45F1

#CF45F1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.4% C 0.258 H 318.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CF45F1
RGBrgb(207, 69, 241)
HSLhsl(288, 86%, 61%)
HSVhsv(288, 71%, 95%)
CMYKcmyk(14.1%, 71.4%, 0%, 5.5%)
CIE-LABlab(55.96, 75.83, -60.45)
CIE-LCHlch(55.96, 96.98, 321.44°)
OKLaboklab(65.38% 0.1941 -0.1696)
OKLCHoklch(65.38% 0.258 318.9)
XYZxyz(43.7353, 23.8746, 85.5066)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45F1 #67F145
analogous
#7945F1 #CF45F1 #F145BD
triadic
#CF45F1 #F1CF45 #45F1CF
tetradic
#CF45F1 #F17945 #67F145 #45BDF1
square
#CF45F1 #F17945 #67F145 #45BDF1
split-complementary
#CF45F1 #BDF145 #45F179
monochromatic
#8F0DAE #BD11E7 #CF45F1 #DE7EF5 #ECB7FA

Accessibility & contrast

On white

3.64
#CF45F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CF45F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45F1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45F1#FFFFFF#000000##000000
##CF45F11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#CF6797
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf45f1;
/* rgb */ color: rgb(207, 69, 241);
/* oklch */ color: oklch(65.4% 0.258 318.9);
Tailwind
colors: {
  custom: {
    50: '#e285f6',
    500: '#cf45f1',
    950: '#000000',
  },
}
SCSS
$custom: #cf45f1;
$custom-light: #e285f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45f1",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 288.14,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65375,
    "c": 0.25781,
    "h": 318.9
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

primary
#CF45F1
secondary
#B5E9A8
accent
#E3032F
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF45F1

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

Preview Lab → · Contrast checker → · Palette generator →

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