#CB4DC7#CB4DC7

#CB4DC7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.212 H 329.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CB4DC7
RGBrgb(203, 77, 199)
HSLhsl(302, 55%, 55%)
HSVhsv(302, 62%, 80%)
CMYKcmyk(0%, 62.1%, 2%, 20.4%)
CIE-LABlab(54.17, 64.58, -39.56)
CIE-LCHlch(54.17, 75.74, 328.51°)
OKLaboklab(63.23% 0.1815 -0.109)
OKLCHoklch(63.23% 0.212 329)
XYZxyz(37.5909, 22.1304, 56.3134)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DC7 #4DCB51
analogous
#904DCB #CB4DC7 #CB4D88
triadic
#CB4DC7 #C7CB4D #4DC7CB
tetradic
#CB4DC7 #CB904D #4DCB51 #4D88CB
square
#CB4DC7 #CB904D #4DCB51 #4D88CB
split-complementary
#CB4DC7 #88CB4D #4DCB90
monochromatic
#7A2477 #A931A6 #CB4DC7 #D97CD6 #E7ACE5

Accessibility & contrast

On white

3.87
#CB4DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CB4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DC7#FFFFFF#000000##000000
##CB4DC71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CB
Deuteranopia (green-blind)
#6D88C4
Tritanopia (blue-blind)
#D25C83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb4dc7;
/* rgb */ color: rgb(203, 77, 199);
/* oklch */ color: oklch(63.2% 0.212 329.0);
Tailwind
colors: {
  custom: {
    50: '#de87d8',
    500: '#cb4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4dc7;
$custom-light: #de87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4dc7",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 301.905,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63226,
    "c": 0.21171,
    "h": 329
  },
  "luminance": 0.22128
}

Semantic roles & 50–950 ramp

primary
#CB4DC7
secondary
#9FD4A1
accent
#DE4E4A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CB4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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