#CF45D7#CF45D7

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

Color values

HEX#CF45D7
RGBrgb(207, 69, 215)
HSLhsl(297, 65%, 56%)
HSVhsv(297, 68%, 84%)
CMYKcmyk(3.7%, 67.9%, 0%, 15.7%)
CIE-LABlab(54.48, 71.29, -48.16)
CIE-LCHlch(54.48, 86.03, 325.96°)
OKLaboklab(63.84% 0.1952 -0.1338)
OKLCHoklch(63.84% 0.237 325.6)
XYZxyz(40.1251, 22.4305, 66.4929)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45D7 #4DD745
analogous
#8645D7 #CF45D7 #D74596
triadic
#CF45D7 #D7CF45 #45D7CF
tetradic
#CF45D7 #D78645 #4DD745 #4596D7
square
#CF45D7 #D78645 #4DD745 #4596D7
split-complementary
#CF45D7 #96D745 #45D786
monochromatic
#7F1D85 #AF27B7 #CF45D7 #DC77E2 #E9AAED

Accessibility & contrast

On white

3.83
#CF45D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CF45D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45D7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45D7#FFFFFF#000000##000000
##CF45D71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2577DB
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#D45C89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf45d7;
/* rgb */ color: rgb(207, 69, 215);
/* oklch */ color: oklch(63.8% 0.237 325.6);
Tailwind
colors: {
  custom: {
    50: '#e184e4',
    500: '#cf45d7',
    950: '#000000',
  },
}
SCSS
$custom: #cf45d7;
$custom-light: #e184e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45d7",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 296.712,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6384,
    "c": 0.23662,
    "h": 325.6
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#CF45D7
secondary
#A1DA9E
accent
#E84049
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CF45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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