#CB7DCC#CB7DCC

#CB7DCC is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.141 H 326.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CB7DCC
RGBrgb(203, 125, 204)
HSLhsl(299, 44%, 65%)
HSVhsv(299, 39%, 80%)
CMYKcmyk(0.5%, 38.7%, 0%, 20%)
CIE-LABlab(63.12, 42.41, -28.45)
CIE-LCHlch(63.12, 51.07, 326.14°)
OKLaboklab(69.92% 0.1172 -0.0776)
OKLCHoklch(69.92% 0.141 326.5)
XYZxyz(42.8604, 31.7252, 60.9810)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DCC #7ECC7D
analogous
#A47DCC #CB7DCC #CC7DA5
triadic
#CB7DCC #CCCB7D #7DCCCB
tetradic
#CB7DCC #CCA47D #7ECC7D #7DA5CC
square
#CB7DCC #CCA47D #7ECC7D #7DA5CC
split-complementary
#CB7DCC #A5CC7D #7DCCA4
monochromatic
#933A94 #B951BB #CB7DCC #DDA9DD #EED5EE

Accessibility & contrast

On white

2.86
#CB7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CB7DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DCC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DCC#FFFFFF#000000##000000
##CB7DCC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CF
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#CF859B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7dcc;
/* rgb */ color: rgb(203, 125, 204);
/* oklch */ color: oklch(69.9% 0.141 326.5);
Tailwind
colors: {
  custom: {
    50: '#dca4db',
    500: '#cb7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dcc;
$custom-light: #dca4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dcc",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 299.241,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.14058,
    "h": 326.5
  },
  "luminance": 0.31723
}

Semantic roles & 50–950 ramp

primary
#CB7DCC
secondary
#C5E0C5
accent
#B72F30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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