#CD83EC#CD83EC

#CD83EC is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.5% C 0.165 H 315.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CD83EC
RGBrgb(205, 131, 236)
HSLhsl(282, 73%, 72%)
HSVhsv(282, 44%, 93%)
CMYKcmyk(13.1%, 44.5%, 0%, 7.5%)
CIE-LABlab(65.96, 46.09, -41.83)
CIE-LCHlch(65.96, 62.25, 317.78°)
OKLaboklab(72.54% 0.1171 -0.1159)
OKLCHoklch(72.54% 0.165 315.3)
XYZxyz(48.4311, 35.2691, 83.5970)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD83EC #A2EC83
analogous
#9983EC #CD83EC #EC83D6
triadic
#CD83EC #ECCD83 #83ECCD
tetradic
#CD83EC #EC9983 #A2EC83 #83D6EC
square
#CD83EC #EC9983 #A2EC83 #83D6EC
split-complementary
#CD83EC #D6EC83 #83EC99
monochromatic
#9F20D4 #B84EE4 #CD83EC #E2B8F4 #F4E4FB

Accessibility & contrast

On white

2.61
#CD83EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CD83EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD83EC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD83EC#FFFFFF#000000##000000
##CD83EC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#CB92AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd83ec;
/* rgb */ color: rgb(205, 131, 236);
/* oklch */ color: oklch(72.5% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#dea9f2',
    500: '#cd83ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd83ec;
$custom-light: #dea9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd83ec",
  "rgb": {
    "r": 205,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 282.286,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.16475,
    "h": 315.3
  },
  "luminance": 0.35268
}

Semantic roles & 50–950 ramp

primary
#CD83EC
secondary
#E0F3D8
accent
#D6104A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD83EC

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

Preview Lab → · Contrast checker → · Palette generator →

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