#CB4DCB#CB4DCB

#CB4DCB is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.215 H 327.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB4DCB
RGBrgb(203, 77, 203)
HSLhsl(300, 55%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0%, 62.1%, 0%, 20.4%)
CIE-LABlab(54.36, 65.25, -41.54)
CIE-LCHlch(54.36, 77.35, 327.52°)
OKLaboklab(63.43% 0.1818 -0.1147)
OKLCHoklch(63.43% 0.215 327.7)
XYZxyz(38.0614, 22.3186, 58.7915)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DCB #4DCB4D
analogous
#8C4DCB #CB4DCB #CB4D8C
triadic
#CB4DCB #CBCB4D #4DCBCB
tetradic
#CB4DCB #CB8C4D #4DCB4D #4D8CCB
square
#CB4DCB #CB8C4D #4DCB4D #4D8CCB
split-complementary
#CB4DCB #8CCB4D #4DCB8C
monochromatic
#7A247A #A931A9 #CB4DCB #D97CD9 #E7ACE7

Accessibility & contrast

On white

3.84
#CB4DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB4DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DCB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DCB#FFFFFF#000000##000000
##CB4DCB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#6B88C8
Tritanopia (blue-blind)
#D15D85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb4dcb;
/* rgb */ color: rgb(203, 77, 203);
/* oklch */ color: oklch(63.4% 0.215 327.7);
Tailwind
colors: {
  custom: {
    50: '#de87db',
    500: '#cb4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb4dcb;
$custom-light: #de87db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4dcb",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63435,
    "c": 0.21494,
    "h": 327.7
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#CB4DCB
secondary
#9FD49F
accent
#DE4A4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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