#CB56BB#CB56BB

#CB56BB is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.7% C 0.189 H 333.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CB56BB
RGBrgb(203, 86, 187)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 58%, 80%)
CMYKcmyk(0%, 57.6%, 7.9%, 20.4%)
CIE-LABlab(55.01, 58.75, -31.33)
CIE-LCHlch(55.01, 66.58, 331.93°)
OKLaboklab(63.66% 0.169 -0.0854)
OKLCHoklch(63.66% 0.189 333.2)
XYZxyz(36.9261, 22.9426, 49.4876)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56BB #56CB66
analogous
#A156CB #CB56BB #CB5681
triadic
#CB56BB #BBCB56 #56BBCB
tetradic
#CB56BB #CBA156 #56CB66 #5681CB
square
#CB56BB #CBA156 #56CB66 #5681CB
split-complementary
#CB56BB #81CB56 #56CBA1
monochromatic
#7F2773 #AE369E #CB56BB #D985CE #E8B4E1

Accessibility & contrast

On white

3.76
#CB56BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CB56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56BB#FFFFFF#000000##000000
##CB56BB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#D35E81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56bb;
/* rgb */ color: rgb(203, 86, 187);
/* oklch */ color: oklch(63.7% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cb56bb',
    950: '#000000',
  },
}
SCSS
$custom: #cb56bb;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56bb",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 308.205,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63663,
    "c": 0.18936,
    "h": 333.2
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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