#CB7DC6#CB7DC6

#CB7DC6 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.7% C 0.135 H 329.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB7DC6
RGBrgb(203, 125, 198)
HSLhsl(304, 43%, 64%)
HSVhsv(304, 38%, 80%)
CMYKcmyk(0%, 38.4%, 2.5%, 20.4%)
CIE-LABlab(62.88, 41.31, -25.44)
CIE-LCHlch(62.88, 48.51, 328.37°)
OKLaboklab(69.66% 0.1158 -0.069)
OKLCHoklch(69.66% 0.135 329.2)
XYZxyz(42.1546, 31.4429, 57.2638)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DC6 #7DCB82
analogous
#A97DCB #CB7DC6 #CB7D9F
triadic
#CB7DC6 #C6CB7D #7DC6CB
tetradic
#CB7DC6 #CBA97D #7DCB82 #7D9FCB
square
#CB7DC6 #CBA97D #7DCB82 #7D9FCB
split-complementary
#CB7DC6 #9FCB7D #7DCBA9
monochromatic
#933B8D #BA51B3 #CB7DC6 #DCA9D9 #EED4EC

Accessibility & contrast

On white

2.88
#CB7DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DC6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DC6#FFFFFF#000000##000000
##CB7DC61.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992C9
Deuteranopia (green-blind)
#8D9CC4
Tritanopia (blue-blind)
#D08398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7dc6;
/* rgb */ color: rgb(203, 125, 198);
/* oklch */ color: oklch(69.7% 0.135 329.2);
Tailwind
colors: {
  custom: {
    50: '#dca4d7',
    500: '#cb7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dc6;
$custom-light: #dca4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dc6",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 303.846,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69661,
    "c": 0.13485,
    "h": 329.2
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#CB7DC6
secondary
#C4DFC6
accent
#B63830
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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