#CF56CD#CF56CD

#CF56CD is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.206 H 328.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CF56CD
RGBrgb(207, 86, 205)
HSLhsl(301, 56%, 57%)
HSVhsv(301, 58%, 81%)
CMYKcmyk(0%, 58.5%, 1%, 18.8%)
CIE-LABlab(56.42, 62.79, -39.41)
CIE-LCHlch(56.42, 74.14, 327.89°)
OKLaboklab(65.08% 0.1756 -0.1085)
OKLCHoklch(65.08% 0.206 328.3)
XYZxyz(40.0788, 24.3313, 60.3312)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56CD #56CF58
analogous
#9556CF #CF56CD #CF5690
triadic
#CF56CD #CDCF56 #56CDCF
tetradic
#CF56CD #CF9556 #56CF58 #5690CF
square
#CF56CD #CF9556 #56CF58 #5690CF
split-complementary
#CF56CD #90CF56 #56CF95
monochromatic
#852683 #B533B2 #CF56CD #DD86DB #EAB5E9

Accessibility & contrast

On white

3.58
#CF56CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CF56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56CD#FFFFFF#000000##000000
##CF56CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#D5648A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf56cd;
/* rgb */ color: rgb(207, 86, 205);
/* oklch */ color: oklch(65.1% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#e18cdc',
    500: '#cf56cd',
    950: '#000000',
  },
}
SCSS
$custom: #cf56cd;
$custom-light: #e18cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56cd",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 300.992,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.20642,
    "h": 328.3
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#CF56CD
secondary
#A8D9A9
accent
#DF4B49
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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