#CB7DCB#CB7DCB

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

Color values

HEX#CB7DCB
RGBrgb(203, 125, 203)
HSLhsl(300, 43%, 64%)
HSVhsv(300, 38%, 80%)
CMYKcmyk(0%, 38.4%, 0%, 20.4%)
CIE-LABlab(63.08, 42.22, -27.95)
CIE-LCHlch(63.08, 50.64, 326.50°)
OKLaboklab(69.87% 0.117 -0.0762)
OKLCHoklch(69.87% 0.14 326.9)
XYZxyz(42.7409, 31.6774, 60.3513)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DCB #7DCB7D
analogous
#A47DCB #CB7DCB #CB7DA4
triadic
#CB7DCB #CBCB7D #7DCBCB
tetradic
#CB7DCB #CBA47D #7DCB7D #7DA4CB
square
#CB7DCB #CBA47D #7DCB7D #7DA4CB
split-complementary
#CB7DCB #A4CB7D #7DCBA4
monochromatic
#933B93 #BA51BA #CB7DCB #DCA9DC #EED4EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7DCB#FFFFFF#000000##000000
##CB7DCB1.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)
#7792CE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#CF849B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7dcb;
/* rgb */ color: rgb(203, 125, 203);
/* oklch */ color: oklch(69.9% 0.140 326.9);
Tailwind
colors: {
  custom: {
    50: '#dca4db',
    500: '#cb7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dcb;
$custom-light: #dca4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dcb",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69873,
    "c": 0.13961,
    "h": 326.9
  },
  "luminance": 0.31676
}

Semantic roles & 50–950 ramp

primary
#CB7DCB
secondary
#C4DFC4
accent
#B63030
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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