#CB56C1#CB56C1

#CB56C1 is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.9% C 0.194 H 331.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CB56C1
RGBrgb(203, 86, 193)
HSLhsl(305, 53%, 57%)
HSVhsv(305, 58%, 80%)
CMYKcmyk(0%, 57.6%, 4.9%, 20.4%)
CIE-LABlab(55.28, 59.73, -34.37)
CIE-LCHlch(55.28, 68.91, 330.09°)
OKLaboklab(63.95% 0.1698 -0.0941)
OKLCHoklch(63.95% 0.194 331)
XYZxyz(37.5818, 23.2049, 52.9413)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56C1 #56CB60
analogous
#9B56CB #CB56C1 #CB5687
triadic
#CB56C1 #C1CB56 #56C1CB
tetradic
#CB56C1 #CB9B56 #56CB60 #5687CB
square
#CB56C1 #CB9B56 #56CB60 #5687CB
split-complementary
#CB56C1 #87CB56 #56CB9B
monochromatic
#7F2778 #AE36A4 #CB56C1 #D985D2 #E8B4E3

Accessibility & contrast

On white

3.72
#CB56C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CB56C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56C1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56C1#FFFFFF#000000##000000
##CB56C11.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC4
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#D26184
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56c1;
/* rgb */ color: rgb(203, 86, 193);
/* oklch */ color: oklch(63.9% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#de8cd4',
    500: '#cb56c1',
    950: '#000000',
  },
}
SCSS
$custom: #cb56c1;
$custom-light: #de8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56c1",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 193
  },
  "hsl": {
    "h": 305.128,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63949,
    "c": 0.19418,
    "h": 331
  },
  "luminance": 0.23202
}

Semantic roles & 50–950 ramp

primary
#CB56C1
secondary
#A6D6AB
accent
#DC584B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CB56C1

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

Preview Lab → · Contrast checker → · Palette generator →

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