#CB7BC5#CB7BC5

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

Color values

HEX#CB7BC5
RGBrgb(203, 123, 197)
HSLhsl(305, 43%, 64%)
HSVhsv(305, 39%, 80%)
CMYKcmyk(0%, 39.4%, 3%, 20.4%)
CIE-LABlab(62.42, 42.18, -25.58)
CIE-LCHlch(62.42, 49.33, 328.77°)
OKLaboklab(69.3% 0.1186 -0.0694)
OKLCHoklch(69.3% 0.137 329.6)
XYZxyz(41.7890, 30.8957, 56.5748)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BC5 #7BCB81
analogous
#A97BCB #CB7BC5 #CB7B9D
triadic
#CB7BC5 #C5CB7B #7BC5CB
tetradic
#CB7BC5 #CBA97B #7BCB81 #7B9DCB
square
#CB7BC5 #CBA97B #7BCB81 #7B9DCB
split-complementary
#CB7BC5 #9DCB7B #7BCBA9
monochromatic
#923A8B #BA4FB2 #CB7BC5 #DCA7D8 #EED3EC

Accessibility & contrast

On white

2.93
#CB7BC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CB7BC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BC5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BC5#FFFFFF#000000##000000
##CB7BC51.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7790C8
Deuteranopia (green-blind)
#8C9BC2
Tritanopia (blue-blind)
#D18197
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7bc5;
/* rgb */ color: rgb(203, 123, 197);
/* oklch */ color: oklch(69.3% 0.137 329.6);
Tailwind
colors: {
  custom: {
    50: '#dca3d6',
    500: '#cb7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bc5;
$custom-light: #dca3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bc5",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 304.5,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69303,
    "c": 0.13742,
    "h": 329.6
  },
  "luminance": 0.30894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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