#CB7DC4#CB7DC4

#CB7DC4 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.6% C 0.133 H 330.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CB7DC4
RGBrgb(203, 125, 196)
HSLhsl(305, 43%, 64%)
HSVhsv(305, 38%, 80%)
CMYKcmyk(0%, 38.4%, 3.4%, 20.4%)
CIE-LABlab(62.80, 40.94, -24.43)
CIE-LCHlch(62.80, 47.68, 329.18°)
OKLaboklab(69.58% 0.1153 -0.0662)
OKLCHoklch(69.58% 0.133 330.1)
XYZxyz(41.9255, 31.3513, 56.0569)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DC4 #7DCB84
analogous
#AB7DCB #CB7DC4 #CB7D9D
triadic
#CB7DC4 #C4CB7D #7DC4CB
tetradic
#CB7DC4 #CBAB7D #7DCB84 #7D9DCB
square
#CB7DC4 #CBAB7D #7DCB84 #7D9DCB
split-complementary
#CB7DC4 #9DCB7D #7DCBAB
monochromatic
#933B8B #BA51B0 #CB7DC4 #DCA9D8 #EED4EC

Accessibility & contrast

On white

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

On black

7.27
#CB7DC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DC4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DC4#FFFFFF#000000##000000
##CB7DC41.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C7
Deuteranopia (green-blind)
#8E9CC2
Tritanopia (blue-blind)
#D18398
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7dc4;
/* rgb */ color: rgb(203, 125, 196);
/* oklch */ color: oklch(69.6% 0.133 330.1);
Tailwind
colors: {
  custom: {
    50: '#dca4d6',
    500: '#cb7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dc4;
$custom-light: #dca4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dc4",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 305.385,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69578,
    "c": 0.13298,
    "h": 330.1
  },
  "luminance": 0.31349
}

Semantic roles & 50–950 ramp

primary
#CB7DC4
secondary
#C4DFC7
accent
#B63C30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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