#C882FE#C882FE

#C882FE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.185 H 308.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C882FE
RGBrgb(200, 130, 254)
HSLhsl(274, 98%, 75%)
HSVhsv(274, 49%, 100%)
CMYKcmyk(21.3%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.06, 49.08, -51.59)
CIE-LCHlch(66.06, 71.21, 313.57°)
OKLaboklab(72.77% 0.115 -0.1443)
OKLCHoklch(72.77% 0.185 308.6)
XYZxyz(49.6880, 35.4010, 97.9622)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882FE #B8FE82
analogous
#8A82FE #C882FE #FE82F6
triadic
#C882FE #FEC882 #82FEC8
tetradic
#C882FE #FE8A82 #B8FE82 #82F6FE
square
#C882FE #FE8A82 #B8FE82 #82F6FE
split-complementary
#C882FE #F6FE82 #82FE8A
monochromatic
#9309FD #AD45FE #C882FE #E3BFFE #F2E1FF

Accessibility & contrast

On white

2.60
#C882FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#C882FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C882FE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C882FE#FFFFFF#000000##000000
##C882FE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#C197B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c882fe;
/* rgb */ color: rgb(200, 130, 254);
/* oklch */ color: oklch(72.8% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#dba8ff',
    500: '#c882fe',
    950: '#000000',
  },
}
SCSS
$custom: #c882fe;
$custom-light: #dba8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c882fe",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 273.871,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72774,
    "c": 0.18451,
    "h": 308.6
  },
  "luminance": 0.354
}

Semantic roles & 50–950 ramp

primary
#C882FE
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C882FE

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

Preview Lab → · Contrast checker → · Palette generator →

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