#CD51CF#CD51CF

#CD51CF is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.214 H 327.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD51CF
RGBrgb(205, 81, 207)
HSLhsl(299, 57%, 56%)
HSVhsv(299, 61%, 81%)
CMYKcmyk(1%, 60.9%, 0%, 18.8%)
CIE-LABlab(55.45, 64.77, -42.09)
CIE-LCHlch(55.45, 77.24, 326.98°)
OKLaboklab(64.35% 0.1796 -0.1163)
OKLCHoklch(64.35% 0.214 327.1)
XYZxyz(39.3811, 23.3715, 61.4563)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD51CF #53CF51
analogous
#8E51CF #CD51CF #CF5192
triadic
#CD51CF #CFCD51 #51CFCD
tetradic
#CD51CF #CF8E51 #53CF51 #5192CF
square
#CD51CF #CF8E51 #53CF51 #5192CF
split-complementary
#CD51CF #92CF51 #51CF8E
monochromatic
#802482 #B031B2 #CD51CF #DB81DC #E9B1E9

Accessibility & contrast

On white

3.70
#CD51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD51CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD51CF#FFFFFF#000000##000000
##CD51CF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#407BD3
Deuteranopia (green-blind)
#6D8ACC
Tritanopia (blue-blind)
#D36189
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd51cf;
/* rgb */ color: rgb(205, 81, 207);
/* oklch */ color: oklch(64.3% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#df8ade',
    500: '#cd51cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd51cf;
$custom-light: #df8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#cd51cf",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 299.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.21393,
    "h": 327.1
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

primary
#CD51CF
secondary
#A5D8A4
accent
#E0484A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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