#CB56CF#CB56CF

#CB56CF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.206 H 326.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB56CF
RGBrgb(203, 86, 207)
HSLhsl(298, 56%, 57%)
HSVhsv(298, 58%, 81%)
CMYKcmyk(1.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(55.95, 62.12, -41.33)
CIE-LCHlch(55.95, 74.61, 326.36°)
OKLaboklab(64.65% 0.1713 -0.1142)
OKLCHoklch(64.65% 0.206 326.3)
XYZxyz(39.2181, 23.8594, 61.5590)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56CF #5ACF56
analogous
#8F56CF #CB56CF #CF5696
triadic
#CB56CF #CFCB56 #56CFCB
tetradic
#CB56CF #CF8F56 #5ACF56 #5696CF
square
#CB56CF #CF8F56 #5ACF56 #5696CF
split-complementary
#CB56CF #96CF56 #56CF8F
monochromatic
#822685 #B033B5 #CB56CF #DA86DD #E8B5EA

Accessibility & contrast

On white

3.64
#CB56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56CF#FFFFFF#000000##000000
##CB56CF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD3
Deuteranopia (green-blind)
#6E8BCC
Tritanopia (blue-blind)
#D0668B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb56cf;
/* rgb */ color: rgb(203, 86, 207);
/* oklch */ color: oklch(64.7% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#de8cde',
    500: '#cb56cf',
    950: '#000000',
  },
}
SCSS
$custom: #cb56cf;
$custom-light: #de8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56cf",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 298.017,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.20589,
    "h": 326.3
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#CB56CF
secondary
#AAD9A8
accent
#DF494E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150D15
muted
#847D83

Preview Lab

Preview with #CB56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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