#CF51C3#CF51C3

#CF51C3 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.0% C 0.205 H 331.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CF51C3
RGBrgb(207, 81, 195)
HSLhsl(306, 57%, 56%)
HSVhsv(306, 61%, 81%)
CMYKcmyk(0%, 60.9%, 5.8%, 18.8%)
CIE-LABlab(55.17, 63.27, -35.65)
CIE-LCHlch(55.17, 72.62, 330.60°)
OKLaboklab(64.01% 0.1806 -0.0977)
OKLCHoklch(64.01% 0.205 331.6)
XYZxyz(38.5248, 23.0932, 54.0475)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51C3 #51CF5D
analogous
#9C51CF #CF51C3 #CF5184
triadic
#CF51C3 #C3CF51 #51C3CF
tetradic
#CF51C3 #CF9C51 #51CF5D #5184CF
square
#CF51C3 #CF9C51 #51CF5D #5184CF
split-complementary
#CF51C3 #84CF51 #51CF9C
monochromatic
#822479 #B231A6 #CF51C3 #DC81D4 #E9B1E4

Accessibility & contrast

On white

3.74
#CF51C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CF51C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51C3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51C3#FFFFFF#000000##000000
##CF51C31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#748AC0
Tritanopia (blue-blind)
#D75C83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf51c3;
/* rgb */ color: rgb(207, 81, 195);
/* oklch */ color: oklch(64.0% 0.205 331.6);
Tailwind
colors: {
  custom: {
    50: '#e189d5',
    500: '#cf51c3',
    950: '#000000',
  },
}
SCSS
$custom: #cf51c3;
$custom-light: #e189d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51c3",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 305.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.20535,
    "h": 331.6
  },
  "luminance": 0.2309
}

Semantic roles & 50–950 ramp

primary
#CF51C3
secondary
#A4D8A9
accent
#E05648
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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