#CB56BC#CB56BC

#CB56BC is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.7% C 0.190 H 332.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CB56BC
RGBrgb(203, 86, 188)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 58%, 80%)
CMYKcmyk(0%, 57.6%, 7.4%, 20.4%)
CIE-LABlab(55.06, 58.91, -31.84)
CIE-LCHlch(55.06, 66.97, 331.61°)
OKLaboklab(63.71% 0.1691 -0.0869)
OKLCHoklch(63.71% 0.19 332.8)
XYZxyz(37.0335, 22.9856, 50.0533)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56BC #56CB65
analogous
#A056CB #CB56BC #CB5682
triadic
#CB56BC #BCCB56 #56BCCB
tetradic
#CB56BC #CBA056 #56CB65 #5682CB
square
#CB56BC #CBA056 #56CB65 #5682CB
split-complementary
#CB56BC #82CB56 #56CBA0
monochromatic
#7F2774 #AE369F #CB56BC #D985CF #E8B4E1

Accessibility & contrast

On white

3.75
#CB56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CB56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56BC#FFFFFF#000000##000000
##CB56BC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#D35F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56bc;
/* rgb */ color: rgb(203, 86, 188);
/* oklch */ color: oklch(63.7% 0.190 332.8);
Tailwind
colors: {
  custom: {
    50: '#de8cd0',
    500: '#cb56bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb56bc;
$custom-light: #de8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56bc",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 307.692,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6371,
    "c": 0.19016,
    "h": 332.8
  },
  "luminance": 0.22983
}

Semantic roles & 50–950 ramp

primary
#CB56BC
secondary
#A6D6AD
accent
#DC5E4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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