#CB4DB7#CB4DB7

#CB4DB7 is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.4% C 0.199 H 334.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB4DB7
RGBrgb(203, 77, 183)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 62.1%, 9.9%, 20.4%)
CIE-LABlab(53.41, 62.00, -31.52)
CIE-LCHlch(53.41, 69.55, 333.06°)
OKLaboklab(62.43% 0.1798 -0.0859)
OKLCHoklch(62.43% 0.199 334.5)
XYZxyz(35.8300, 21.4260, 47.0391)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DB7 #4DCB61
analogous
#A04DCB #CB4DB7 #CB4D78
triadic
#CB4DB7 #B7CB4D #4DB7CB
tetradic
#CB4DB7 #CBA04D #4DCB61 #4D78CB
square
#CB4DB7 #CBA04D #4DCB61 #4D78CB
split-complementary
#CB4DB7 #78CB4D #4DCBA0
monochromatic
#7A246C #A93196 #CB4DB7 #D97CCA #E7ACDD

Accessibility & contrast

On white

3.97
#CB4DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CB4DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DB7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DB7#FFFFFF#000000##000000
##CB4DB71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#D4567B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb4db7;
/* rgb */ color: rgb(203, 77, 183);
/* oklch */ color: oklch(62.4% 0.199 334.5);
Tailwind
colors: {
  custom: {
    50: '#de87cd',
    500: '#cb4db7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4db7;
$custom-light: #de87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4db7",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 309.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.19922,
    "h": 334.5
  },
  "luminance": 0.21423
}

Semantic roles & 50–950 ramp

primary
#CB4DB7
secondary
#9FD4A8
accent
#DE614A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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