#CF51D1#CF51D1

#CF51D1 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.217 H 327.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CF51D1
RGBrgb(207, 81, 209)
HSLhsl(299, 58%, 57%)
HSVhsv(299, 61%, 82%)
CMYKcmyk(1%, 61.2%, 0%, 18%)
CIE-LABlab(55.84, 65.60, -42.59)
CIE-LCHlch(55.84, 78.21, 327.00°)
OKLaboklab(64.72% 0.1819 -0.1177)
OKLCHoklch(64.72% 0.217 327.1)
XYZxyz(40.1825, 23.7563, 62.7782)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51D1 #53D151
analogous
#8F51D1 #CF51D1 #D15193
triadic
#CF51D1 #D1CF51 #51D1CF
tetradic
#CF51D1 #D18F51 #53D151 #5193D1
square
#CF51D1 #D18F51 #53D151 #5193D1
split-complementary
#CF51D1 #93D151 #51D18F
monochromatic
#832385 #B330B5 #CF51D1 #DC81DE #EAB2EB

Accessibility & contrast

On white

3.65
#CF51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CF51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51D1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51D1#FFFFFF#000000##000000
##CF51D11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#407BD5
Deuteranopia (green-blind)
#6E8CCE
Tritanopia (blue-blind)
#D5628A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf51d1;
/* rgb */ color: rgb(207, 81, 209);
/* oklch */ color: oklch(64.7% 0.217 327.1);
Tailwind
colors: {
  custom: {
    50: '#e18adf',
    500: '#cf51d1',
    950: '#000000',
  },
}
SCSS
$custom: #cf51d1;
$custom-light: #e18adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51d1",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 299.063,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.21664,
    "h": 327.1
  },
  "luminance": 0.23754
}

Semantic roles & 50–950 ramp

primary
#CF51D1
secondary
#A6D9A5
accent
#E14649
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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