#CB56BD#CB56BD

#CB56BD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.8% C 0.191 H 332.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CB56BD
RGBrgb(203, 86, 189)
HSLhsl(307, 53%, 57%)
HSVhsv(307, 58%, 80%)
CMYKcmyk(0%, 57.6%, 6.9%, 20.4%)
CIE-LABlab(55.10, 59.07, -32.35)
CIE-LCHlch(55.10, 67.35, 331.29°)
OKLaboklab(63.76% 0.1693 -0.0883)
OKLCHoklch(63.76% 0.191 332.4)
XYZxyz(37.1417, 23.0288, 50.6230)
Luminance0.2303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56BD #56CB64
analogous
#9E56CB #CB56BD #CB5683
triadic
#CB56BD #BDCB56 #56BDCB
tetradic
#CB56BD #CB9E56 #56CB64 #5683CB
square
#CB56BD #CB9E56 #56CB64 #5683CB
split-complementary
#CB56BD #83CB56 #56CB9E
monochromatic
#7F2775 #AE36A0 #CB56BD #D985CF #E8B4E2

Accessibility & contrast

On white

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

On black

5.61
#CB56BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56BD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56BD#FFFFFF#000000##000000
##CB56BD1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D35F82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56bd;
/* rgb */ color: rgb(203, 86, 189);
/* oklch */ color: oklch(63.8% 0.191 332.4);
Tailwind
colors: {
  custom: {
    50: '#de8cd1',
    500: '#cb56bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb56bd;
$custom-light: #de8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56bd",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 307.179,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.19094,
    "h": 332.4
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#CB56BD
secondary
#A6D6AC
accent
#DC5D4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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