#C882ED#C882ED

#C882ED is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.9% C 0.165 H 313.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C882ED
RGBrgb(200, 130, 237)
HSLhsl(279, 75%, 72%)
HSVhsv(279, 45%, 93%)
CMYKcmyk(15.6%, 45.1%, 0%, 7.1%)
CIE-LABlab(65.25, 45.42, -43.53)
CIE-LCHlch(65.25, 62.92, 316.22°)
OKLaboklab(71.9% 0.1128 -0.1209)
OKLCHoklch(71.9% 0.165 313)
XYZxyz(47.0855, 34.3601, 84.2561)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882ED #A7ED82
analogous
#9382ED #C882ED #ED82DD
triadic
#C882ED #EDC882 #82EDC8
tetradic
#C882ED #ED9382 #A7ED82 #82DDED
square
#C882ED #ED9382 #A7ED82 #82DDED
split-complementary
#C882ED #DDED82 #82ED93
monochromatic
#971FD6 #B04DE5 #C882ED #E0B7F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.87
#C882ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C882ED
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C882ED#FFFFFF#000000##000000
##C882ED1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c882ed;
/* rgb */ color: rgb(200, 130, 237);
/* oklch */ color: oklch(71.9% 0.165 313.0);
Tailwind
colors: {
  custom: {
    50: '#daa8f3',
    500: '#c882ed',
    950: '#000000',
  },
}
SCSS
$custom: #c882ed;
$custom-light: #daa8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c882ed",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 237
  },
  "hsl": {
    "h": 279.252,
    "s": 74.825,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.16536,
    "h": 313
  },
  "luminance": 0.34359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C882ED

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

Preview Lab → · Contrast checker → · Palette generator →

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