#CB5CC7#CB5CC7

#CB5CC7 is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.0% C 0.190 H 328.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB5CC7
RGBrgb(203, 92, 199)
HSLhsl(302, 52%, 58%)
HSVhsv(302, 55%, 80%)
CMYKcmyk(0%, 54.7%, 2%, 20.4%)
CIE-LABlab(56.56, 58.03, -35.80)
CIE-LCHlch(56.56, 68.18, 328.33°)
OKLaboklab(64.98% 0.1629 -0.0983)
OKLCHoklch(64.98% 0.19 328.9)
XYZxyz(38.7641, 24.4767, 56.7045)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CC7 #5CCB60
analogous
#975CCB #CB5CC7 #CB5C8F
triadic
#CB5CC7 #C7CB5C #5CC7CB
tetradic
#CB5CC7 #CB975C #5CCB60 #5C8FCB
square
#CB5CC7 #CB975C #5CCB60 #5C8FCB
split-complementary
#CB5CC7 #8FCB5C #5CCB97
monochromatic
#832A80 #B139AD #CB5CC7 #DA8AD7 #E9B9E7

Accessibility & contrast

On white

3.56
#CB5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CC7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CC7#FFFFFF#000000##000000
##CB5CC71.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#D16889
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5cc7;
/* rgb */ color: rgb(203, 92, 199);
/* oklch */ color: oklch(65.0% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd8fd8',
    500: '#cb5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cc7;
$custom-light: #dd8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cc7",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 302.162,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.19022,
    "h": 328.9
  },
  "luminance": 0.24474
}

Semantic roles & 50–950 ramp

primary
#CB5CC7
secondary
#ABD8AD
accent
#DB524D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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