#CB83EC#CB83EC

#CB83EC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.3% C 0.164 H 314.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CB83EC
RGBrgb(203, 131, 236)
HSLhsl(281, 73%, 72%)
HSVhsv(281, 44%, 93%)
CMYKcmyk(14%, 44.5%, 0%, 7.5%)
CIE-LABlab(65.74, 45.53, -42.19)
CIE-LCHlch(65.74, 62.07, 317.18°)
OKLaboklab(72.33% 0.1148 -0.1169)
OKLCHoklch(72.33% 0.164 314.5)
XYZxyz(47.8828, 34.9864, 83.5713)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB83EC #A4EC83
analogous
#9783EC #CB83EC #EC83D9
triadic
#CB83EC #ECCB83 #83ECCB
tetradic
#CB83EC #EC9783 #A4EC83 #83D9EC
square
#CB83EC #EC9783 #A4EC83 #83D9EC
split-complementary
#CB83EC #D9EC83 #83EC97
monochromatic
#9C20D4 #B54EE4 #CB83EC #E1B8F4 #F4E4FB

Accessibility & contrast

On white

2.63
#CB83EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CB83EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB83EC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB83EC#FFFFFF#000000##000000
##CB83EC1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BF0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#C992AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb83ec;
/* rgb */ color: rgb(203, 131, 236);
/* oklch */ color: oklch(72.3% 0.164 314.5);
Tailwind
colors: {
  custom: {
    50: '#dca9f2',
    500: '#cb83ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb83ec;
$custom-light: #dca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb83ec",
  "rgb": {
    "r": 203,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 281.143,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72328,
    "c": 0.16387,
    "h": 314.5
  },
  "luminance": 0.34985
}

Semantic roles & 50–950 ramp

primary
#CB83EC
secondary
#E1F3D8
accent
#D6104E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB83EC

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

Preview Lab → · Contrast checker → · Palette generator →

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