#CB56BA#CB56BA

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

Color values

HEX#CB56BA
RGBrgb(203, 86, 186)
HSLhsl(309, 53%, 57%)
HSVhsv(309, 58%, 80%)
CMYKcmyk(0%, 57.6%, 8.4%, 20.4%)
CIE-LABlab(54.97, 58.59, -30.83)
CIE-LCHlch(54.97, 66.20, 332.25°)
OKLaboklab(63.62% 0.1688 -0.084)
OKLCHoklch(63.62% 0.189 333.5)
XYZxyz(36.8194, 22.8999, 48.9257)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56BA #56CB67
analogous
#A256CB #CB56BA #CB5680
triadic
#CB56BA #BACB56 #56BACB
tetradic
#CB56BA #CBA256 #56CB67 #5680CB
square
#CB56BA #CBA256 #56CB67 #5680CB
split-complementary
#CB56BA #80CB56 #56CBA2
monochromatic
#7F2773 #AE369D #CB56BA #D985CD #E8B4E0

Accessibility & contrast

On white

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

On black

5.58
#CB56BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56BA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56BA#FFFFFF#000000##000000
##CB56BA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D35E80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56ba;
/* rgb */ color: rgb(203, 86, 186);
/* oklch */ color: oklch(63.6% 0.189 333.5);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cb56ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb56ba;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56ba",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 308.718,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63617,
    "c": 0.18857,
    "h": 333.5
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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