#C882FC#C882FC

#C882FC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.7% C 0.182 H 309.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#C882FC
RGBrgb(200, 130, 252)
HSLhsl(274, 95%, 75%)
HSVhsv(274, 48%, 99%)
CMYKcmyk(20.6%, 48.4%, 0%, 1.2%)
CIE-LABlab(65.96, 48.64, -50.66)
CIE-LCHlch(65.96, 70.23, 313.84°)
OKLaboklab(72.67% 0.1148 -0.1416)
OKLCHoklch(72.67% 0.182 309)
XYZxyz(49.3694, 35.2736, 96.2843)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882FC #B6FC82
analogous
#8B82FC #C882FC #FC82F3
triadic
#C882FC #FCC882 #82FCC8
tetradic
#C882FC #FC8B82 #B6FC82 #82F3FC
square
#C882FC #FC8B82 #B6FC82 #82F3FC
split-complementary
#C882FC #F3FC82 #82FC8B
monochromatic
#930AF9 #AE46FB #C882FC #E2BEFD #F2E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C882FC#FFFFFF#000000##000000
##C882FC1.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)
#639DFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#C196B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c882fc;
/* rgb */ color: rgb(200, 130, 252);
/* oklch */ color: oklch(72.7% 0.182 309.0);
Tailwind
colors: {
  custom: {
    50: '#dba8fe',
    500: '#c882fc',
    950: '#000000',
  },
}
SCSS
$custom: #c882fc;
$custom-light: #dba8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c882fc",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 274.426,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.18224,
    "h": 309
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C882FC

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

Preview Lab → · Contrast checker → · Palette generator →

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