#CB56BF#CB56BF

#CB56BF is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.9% C 0.193 H 331.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CB56BF
RGBrgb(203, 86, 191)
HSLhsl(306, 53%, 57%)
HSVhsv(306, 58%, 80%)
CMYKcmyk(0%, 57.6%, 5.9%, 20.4%)
CIE-LABlab(55.19, 59.40, -33.36)
CIE-LCHlch(55.19, 68.13, 330.68°)
OKLaboklab(63.85% 0.1696 -0.0912)
OKLCHoklch(63.85% 0.193 331.7)
XYZxyz(37.3602, 23.1163, 51.7742)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56BF #56CB62
analogous
#9D56CB #CB56BF #CB5685
triadic
#CB56BF #BFCB56 #56BFCB
tetradic
#CB56BF #CB9D56 #56CB62 #5685CB
square
#CB56BF #CB9D56 #56CB62 #5685CB
split-complementary
#CB56BF #85CB56 #56CB9D
monochromatic
#7F2776 #AE36A2 #CB56BF #D985D1 #E8B4E2

Accessibility & contrast

On white

3.73
#CB56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CB56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56BF#FFFFFF#000000##000000
##CB56BF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517AC2
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#D36083
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56bf;
/* rgb */ color: rgb(203, 86, 191);
/* oklch */ color: oklch(63.9% 0.193 331.7);
Tailwind
colors: {
  custom: {
    50: '#de8cd2',
    500: '#cb56bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb56bf;
$custom-light: #de8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56bf",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 306.154,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63853,
    "c": 0.19255,
    "h": 331.7
  },
  "luminance": 0.23114
}

Semantic roles & 50–950 ramp

primary
#CB56BF
secondary
#A6D6AB
accent
#DC5A4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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