#CB5BC5#CB5BC5

#CB5BC5 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.8% C 0.190 H 329.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CB5BC5
RGBrgb(203, 91, 197)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 55.2%, 3%, 20.4%)
CIE-LABlab(56.30, 58.15, -35.07)
CIE-LCHlch(56.30, 67.90, 328.90°)
OKLaboklab(64.75% 0.1639 -0.0962)
OKLCHoklch(64.75% 0.19 329.6)
XYZxyz(38.4474, 24.2124, 55.4609)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BC5 #5BCB61
analogous
#995BCB #CB5BC5 #CB5B8D
triadic
#CB5BC5 #C5CB5B #5BC5CB
tetradic
#CB5BC5 #CB995B #5BCB61 #5B8DCB
square
#CB5BC5 #CB995B #5BCB61 #5B8DCB
split-complementary
#CB5BC5 #8DCB5B #5BCB99
monochromatic
#82297E #B138AA #CB5BC5 #DA89D5 #E8B8E6

Accessibility & contrast

On white

3.59
#CB5BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CB5BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BC5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BC5#FFFFFF#000000##000000
##CB5BC51.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC8
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#D26688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5bc5;
/* rgb */ color: rgb(203, 91, 197);
/* oklch */ color: oklch(64.8% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd8fd7',
    500: '#cb5bc5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5bc5;
$custom-light: #dd8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5bc5",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 303.214,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64754,
    "c": 0.19004,
    "h": 329.6
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#CB5BC5
secondary
#AAD7AD
accent
#DB544C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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