#CB7DC7#CB7DC7

#CB7DC7 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.136 H 328.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CB7DC7
RGBrgb(203, 125, 199)
HSLhsl(303, 43%, 64%)
HSVhsv(303, 38%, 80%)
CMYKcmyk(0%, 38.4%, 2%, 20.4%)
CIE-LABlab(62.92, 41.49, -25.94)
CIE-LCHlch(62.92, 48.93, 327.98°)
OKLaboklab(69.7% 0.1161 -0.0705)
OKLCHoklch(69.7% 0.136 328.7)
XYZxyz(42.2703, 31.4892, 57.8732)
Luminance0.3149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DC7 #7DCB81
analogous
#A87DCB #CB7DC7 #CB7DA0
triadic
#CB7DC7 #C7CB7D #7DC7CB
tetradic
#CB7DC7 #CBA87D #7DCB81 #7DA0CB
square
#CB7DC7 #CBA87D #7DCB81 #7DA0CB
split-complementary
#CB7DC7 #A0CB7D #7DCBA8
monochromatic
#933B8E #BA51B4 #CB7DC7 #DCA9DA #EED4ED

Accessibility & contrast

On white

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

On black

7.30
#CB7DC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DC7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DC7#FFFFFF#000000##000000
##CB7DC71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7dc7;
/* rgb */ color: rgb(203, 125, 199);
/* oklch */ color: oklch(69.7% 0.136 328.7);
Tailwind
colors: {
  custom: {
    50: '#dca4d8',
    500: '#cb7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dc7;
$custom-light: #dca4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dc7",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 303.077,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.13579,
    "h": 328.7
  },
  "luminance": 0.31487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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