#C882EC#C882EC

#C882EC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.9% C 0.164 H 313.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C882EC
RGBrgb(200, 130, 236)
HSLhsl(280, 74%, 72%)
HSVhsv(280, 45%, 93%)
CMYKcmyk(15.3%, 44.9%, 0%, 7.5%)
CIE-LABlab(65.20, 45.21, -43.05)
CIE-LCHlch(65.20, 62.43, 316.40°)
OKLaboklab(71.85% 0.1127 -0.1195)
OKLCHoklch(71.85% 0.164 313.3)
XYZxyz(46.9399, 34.3018, 83.4888)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882EC #A6EC82
analogous
#9382EC #C882EC #EC82DB
triadic
#C882EC #ECC882 #82ECC8
tetradic
#C882EC #EC9382 #A6EC82 #82DBEC
square
#C882EC #EC9382 #A6EC82 #82DBEC
split-complementary
#C882EC #DBEC82 #82EC93
monochromatic
#9720D3 #B14DE4 #C882EC #DFB7F4 #F3E4FB

Accessibility & contrast

On white

2.67
#C882EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C882EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C882EC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C882EC#FFFFFF#000000##000000
##C882EC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#C592AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c882ec;
/* rgb */ color: rgb(200, 130, 236);
/* oklch */ color: oklch(71.9% 0.164 313.3);
Tailwind
colors: {
  custom: {
    50: '#daa8f2',
    500: '#c882ec',
    950: '#000000',
  },
}
SCSS
$custom: #c882ec;
$custom-light: #daa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c882ec",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 279.623,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71854,
    "c": 0.16423,
    "h": 313.3
  },
  "luminance": 0.34301
}

Semantic roles & 50–950 ramp

primary
#C882EC
secondary
#E1F2D7
accent
#D61053
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C882EC

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

Preview Lab → · Contrast checker → · Palette generator →

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