#CB56C2#CB56C2

#CB56C2 is a light, vivid purple. Relative luminance 0.232; OKLCH L 64.0% C 0.195 H 330.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CB56C2
RGBrgb(203, 86, 194)
HSLhsl(305, 53%, 57%)
HSVhsv(305, 58%, 80%)
CMYKcmyk(0%, 57.6%, 4.4%, 20.4%)
CIE-LABlab(55.33, 59.90, -34.87)
CIE-LCHlch(55.33, 69.31, 329.79°)
OKLaboklab(64% 0.17 -0.0956)
OKLCHoklch(64% 0.195 330.7)
XYZxyz(37.6938, 23.2497, 53.5308)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56C2 #56CB5F
analogous
#9A56CB #CB56C2 #CB5688
triadic
#CB56C2 #C2CB56 #56C2CB
tetradic
#CB56C2 #CB9A56 #56CB5F #5688CB
square
#CB56C2 #CB9A56 #56CB5F #5688CB
split-complementary
#CB56C2 #88CB56 #56CB9A
monochromatic
#7F2779 #AE36A5 #CB56C2 #D985D3 #E8B4E4

Accessibility & contrast

On white

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

On black

5.65
#CB56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56C2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56C2#FFFFFF#000000##000000
##CB56C21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#758ABF
Tritanopia (blue-blind)
#D26184
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb56c2;
/* rgb */ color: rgb(203, 86, 194);
/* oklch */ color: oklch(64.0% 0.195 330.7);
Tailwind
colors: {
  custom: {
    50: '#de8cd5',
    500: '#cb56c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb56c2;
$custom-light: #de8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56c2",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 304.615,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.19499,
    "h": 330.7
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#CB56C2
secondary
#A6D6AA
accent
#DC574B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CB56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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