#CF45D5#CF45D5

#CF45D5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.7% C 0.235 H 326.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CF45D5
RGBrgb(207, 69, 213)
HSLhsl(298, 63%, 55%)
HSVhsv(298, 68%, 84%)
CMYKcmyk(2.8%, 67.6%, 0%, 16.5%)
CIE-LABlab(54.37, 70.95, -47.20)
CIE-LCHlch(54.37, 85.22, 326.37°)
OKLaboklab(63.73% 0.1952 -0.1309)
OKLCHoklch(63.73% 0.235 326.1)
XYZxyz(39.8697, 22.3283, 65.1477)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45D5 #4BD545
analogous
#8745D5 #CF45D5 #D54593
triadic
#CF45D5 #D5CF45 #45D5CF
tetradic
#CF45D5 #D58745 #4BD545 #4593D5
square
#CF45D5 #D58745 #4BD545 #4593D5
split-complementary
#CF45D5 #93D545 #45D587
monochromatic
#7E1D82 #AE29B4 #CF45D5 #DC77E0 #E9A9EC

Accessibility & contrast

On white

3.84
#CF45D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CF45D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45D5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45D5#FFFFFF#000000##000000
##CF45D51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#6488D1
Tritanopia (blue-blind)
#D45B88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf45d5;
/* rgb */ color: rgb(207, 69, 213);
/* oklch */ color: oklch(63.7% 0.235 326.1);
Tailwind
colors: {
  custom: {
    50: '#e184e2',
    500: '#cf45d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf45d5;
$custom-light: #e184e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45d5",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 297.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63728,
    "c": 0.23503,
    "h": 326.1
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#CF45D5
secondary
#9FD99D
accent
#E64248
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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