#CB7DC5#CB7DC5

#CB7DC5 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.6% C 0.134 H 329.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CB7DC5
RGBrgb(203, 125, 197)
HSLhsl(305, 43%, 64%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 38.4%, 3%, 20.4%)
CIE-LABlab(62.84, 41.12, -24.93)
CIE-LCHlch(62.84, 48.09, 328.77°)
OKLaboklab(69.62% 0.1156 -0.0676)
OKLCHoklch(69.62% 0.134 329.7)
XYZxyz(42.0396, 31.3969, 56.6583)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DC5 #7DCB83
analogous
#AA7DCB #CB7DC5 #CB7D9E
triadic
#CB7DC5 #C5CB7D #7DC5CB
tetradic
#CB7DC5 #CBAA7D #7DCB83 #7D9ECB
square
#CB7DC5 #CBAA7D #7DCB83 #7D9ECB
split-complementary
#CB7DC5 #9ECB7D #7DCBAA
monochromatic
#933B8C #BA51B1 #CB7DC5 #DCA9D9 #EED4EC

Accessibility & contrast

On white

2.89
#CB7DC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CB7DC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DC5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DC5#FFFFFF#000000##000000
##CB7DC51.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7991C8
Deuteranopia (green-blind)
#8E9CC3
Tritanopia (blue-blind)
#D18398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7dc5;
/* rgb */ color: rgb(203, 125, 197);
/* oklch */ color: oklch(69.6% 0.134 329.7);
Tailwind
colors: {
  custom: {
    50: '#dca4d6',
    500: '#cb7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dc5;
$custom-light: #dca4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dc5",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 304.615,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6962,
    "c": 0.13391,
    "h": 329.7
  },
  "luminance": 0.31395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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