#CB56C7#CB56C7

#CB56C7 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.2% C 0.199 H 328.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CB56C7
RGBrgb(203, 86, 199)
HSLhsl(302, 53%, 57%)
HSVhsv(302, 58%, 80%)
CMYKcmyk(0%, 57.6%, 2%, 20.4%)
CIE-LABlab(55.56, 60.74, -37.37)
CIE-LCHlch(55.56, 71.32, 328.40°)
OKLaboklab(64.24% 0.1706 -0.1027)
OKLCHoklch(64.24% 0.199 328.9)
XYZxyz(38.2648, 23.4781, 56.5380)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56C7 #56CB5A
analogous
#9556CB #CB56C7 #CB568D
triadic
#CB56C7 #C7CB56 #56C7CB
tetradic
#CB56C7 #CB9556 #56CB5A #568DCB
square
#CB56C7 #CB9556 #56CB5A #568DCB
split-complementary
#CB56C7 #8DCB56 #56CB95
monochromatic
#7F277C #AE36AA #CB56C7 #D985D7 #E8B4E6

Accessibility & contrast

On white

3.69
#CB56C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CB56C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56C7#FFFFFF#000000##000000
##CB56C71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#D16387
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb56c7;
/* rgb */ color: rgb(203, 86, 199);
/* oklch */ color: oklch(64.2% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#de8cd8',
    500: '#cb56c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb56c7;
$custom-light: #de8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56c7",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 302.051,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.19912,
    "h": 328.9
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#CB56C7
secondary
#A6D6A8
accent
#DC504B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CB56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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