#CF56CF#CF56CF

#CF56CF is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.208 H 327.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CF56CF
RGBrgb(207, 86, 207)
HSLhsl(300, 56%, 57%)
HSVhsv(300, 58%, 81%)
CMYKcmyk(0%, 58.5%, 0%, 18.8%)
CIE-LABlab(56.51, 63.13, -40.40)
CIE-LCHlch(56.51, 74.95, 327.39°)
OKLaboklab(65.18% 0.1758 -0.1114)
OKLCHoklch(65.18% 0.208 327.6)
XYZxyz(40.3218, 24.4285, 61.6108)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56CF #56CF56
analogous
#9356CF #CF56CF #CF5693
triadic
#CF56CF #CFCF56 #56CFCF
tetradic
#CF56CF #CF9356 #56CF56 #5693CF
square
#CF56CF #CF9356 #56CF56 #5693CF
split-complementary
#CF56CF #93CF56 #56CF93
monochromatic
#852685 #B533B5 #CF56CF #DD86DD #EAB5EA

Accessibility & contrast

On white

3.57
#CF56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CF56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56CF#FFFFFF#000000##000000
##CF56CF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#D5658B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf56cf;
/* rgb */ color: rgb(207, 86, 207);
/* oklch */ color: oklch(65.2% 0.208 327.6);
Tailwind
colors: {
  custom: {
    50: '#e18dde',
    500: '#cf56cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf56cf;
$custom-light: #e18dde;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56cf",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65179,
    "c": 0.20809,
    "h": 327.6
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#CF56CF
secondary
#A8D9A8
accent
#DF4949
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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