#CB7BC6#CB7BC6

#CB7BC6 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.3% C 0.138 H 329.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CB7BC6
RGBrgb(203, 123, 198)
HSLhsl(304, 43%, 64%)
HSVhsv(304, 39%, 80%)
CMYKcmyk(0%, 39.4%, 2.5%, 20.4%)
CIE-LABlab(62.46, 42.37, -26.09)
CIE-LCHlch(62.46, 49.75, 328.38°)
OKLaboklab(69.35% 0.1188 -0.0709)
OKLCHoklch(69.35% 0.138 329.2)
XYZxyz(41.9040, 30.9416, 57.1802)
Luminance0.3094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BC6 #7BCB80
analogous
#A87BCB #CB7BC6 #CB7B9E
triadic
#CB7BC6 #C6CB7B #7BC6CB
tetradic
#CB7BC6 #CBA87B #7BCB80 #7B9ECB
square
#CB7BC6 #CBA87B #7BCB80 #7B9ECB
split-complementary
#CB7BC6 #9ECB7B #7BCBA8
monochromatic
#923A8D #BA4FB3 #CB7BC6 #DCA7D9 #EED3EC

Accessibility & contrast

On white

2.92
#CB7BC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CB7BC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BC6
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BC6#FFFFFF#000000##000000
##CB7BC61.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7790C9
Deuteranopia (green-blind)
#8C9BC3
Tritanopia (blue-blind)
#D08197
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7bc6;
/* rgb */ color: rgb(203, 123, 198);
/* oklch */ color: oklch(69.3% 0.138 329.2);
Tailwind
colors: {
  custom: {
    50: '#dca3d7',
    500: '#cb7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bc6;
$custom-light: #dca3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bc6",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 303.75,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69345,
    "c": 0.13835,
    "h": 329.2
  },
  "luminance": 0.3094
}

Semantic roles & 50–950 ramp

primary
#CB7BC6
secondary
#C3DFC5
accent
#B7372F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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