#CB83DC#CB83DC

#CB83DC is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.6% C 0.147 H 319.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CB83DC
RGBrgb(203, 131, 220)
HSLhsl(289, 56%, 69%)
HSVhsv(289, 40%, 86%)
CMYKcmyk(7.7%, 40.5%, 0%, 13.7%)
CIE-LABlab(65.04, 42.29, -34.42)
CIE-LCHlch(65.04, 54.52, 320.86°)
OKLaboklab(71.58% 0.1119 -0.0946)
OKLCHoklch(71.58% 0.147 319.8)
XYZxyz(45.6615, 34.0979, 71.8725)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB83DC #94DC83
analogous
#9F83DC #CB83DC #DC83C1
triadic
#CB83DC #DCCB83 #83DCCB
tetradic
#CB83DC #DC9F83 #94DC83 #83C1DC
square
#CB83DC #DC9F83 #94DC83 #83C1DC
split-complementary
#CB83DC #C1DC83 #83DC9F
monochromatic
#9A32B2 #B753CF #CB83DC #DFB3E9 #F3E2F7

Accessibility & contrast

On white

2.69
#CB83DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CB83DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB83DC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB83DC#FFFFFF#000000##000000
##CB83DC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#89A0D9
Tritanopia (blue-blind)
#CC8EA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb83dc;
/* rgb */ color: rgb(203, 131, 220);
/* oklch */ color: oklch(71.6% 0.147 319.8);
Tailwind
colors: {
  custom: {
    50: '#dca8e7',
    500: '#cb83dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb83dc;
$custom-light: #dca8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb83dc",
  "rgb": {
    "r": 203,
    "g": 131,
    "b": 220
  },
  "hsl": {
    "h": 288.539,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.14653,
    "h": 319.8
  },
  "luminance": 0.34096
}

Semantic roles & 50–950 ramp

primary
#CB83DC
secondary
#D5EBD0
accent
#C42241
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB83DC

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

Preview Lab → · Contrast checker → · Palette generator →

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