#CF56D5#CF56D5

#CF56D5 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.213 H 325.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CF56D5
RGBrgb(207, 86, 213)
HSLhsl(297, 60%, 59%)
HSVhsv(297, 60%, 84%)
CMYKcmyk(2.8%, 59.6%, 0%, 16.5%)
CIE-LABlab(56.81, 64.17, -43.34)
CIE-LCHlch(56.81, 77.44, 325.97°)
OKLaboklab(65.49% 0.1763 -0.1199)
OKLCHoklch(65.49% 0.213 325.8)
XYZxyz(41.0693, 24.7275, 65.5476)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56D5 #5CD556
analogous
#8F56D5 #CF56D5 #D5569B
triadic
#CF56D5 #D5CF56 #56D5CF
tetradic
#CF56D5 #D58F56 #5CD556 #569BD5
square
#CF56D5 #D58F56 #5CD556 #569BD5
split-complementary
#CF56D5 #9BD556 #56D58F
monochromatic
#88238D #B82FBE #CF56D5 #DD87E1 #EBB8ED

Accessibility & contrast

On white

3.53
#CF56D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CF56D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56D5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56D5#FFFFFF#000000##000000
##CF56D51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FD9
Deuteranopia (green-blind)
#6F8ED2
Tritanopia (blue-blind)
#D4678E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf56d5;
/* rgb */ color: rgb(207, 86, 213);
/* oklch */ color: oklch(65.5% 0.213 325.8);
Tailwind
colors: {
  custom: {
    50: '#e18de2',
    500: '#cf56d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf56d5;
$custom-light: #e18de2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56d5",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 297.165,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.21316,
    "h": 325.8
  },
  "luminance": 0.24725
}

Semantic roles & 50–950 ramp

primary
#CF56D5
secondary
#ADDDAA
accent
#E3444C
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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