#C882EE#C882EE

#C882EE is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.0% C 0.166 H 312.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C882EE
RGBrgb(200, 130, 238)
HSLhsl(279, 76%, 72%)
HSVhsv(279, 45%, 93%)
CMYKcmyk(16%, 45.4%, 0%, 6.7%)
CIE-LABlab(65.29, 45.63, -44.01)
CIE-LCHlch(65.29, 63.40, 316.04°)
OKLaboklab(71.95% 0.113 -0.1223)
OKLCHoklch(71.95% 0.166 312.7)
XYZxyz(47.2320, 34.4187, 85.0277)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882EE #A8EE82
analogous
#9282EE #C882EE #EE82DE
triadic
#C882EE #EEC882 #82EEC8
tetradic
#C882EE #EE9282 #A8EE82 #82DEEE
square
#C882EE #EE9282 #A8EE82 #82DEEE
split-complementary
#C882EE #DEEE82 #82EE92
monochromatic
#961DD8 #B04CE7 #C882EE #E0B8F5 #F3E4FB

Accessibility & contrast

On white

2.66
#C882EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#C882EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C882EE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C882EE#FFFFFF#000000##000000
##C882EE1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#C592AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c882ee;
/* rgb */ color: rgb(200, 130, 238);
/* oklch */ color: oklch(72.0% 0.166 312.7);
Tailwind
colors: {
  custom: {
    50: '#daa8f4',
    500: '#c882ee',
    950: '#000000',
  },
}
SCSS
$custom: #c882ee;
$custom-light: #daa8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c882ee",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 278.889,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71953,
    "c": 0.16647,
    "h": 312.7
  },
  "luminance": 0.34418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C882EE

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

Preview Lab → · Contrast checker → · Palette generator →

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