#C982FC#C982FC

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

Color values

HEX#C982FC
RGBrgb(201, 130, 252)
HSLhsl(275, 95%, 75%)
HSVhsv(275, 48%, 99%)
CMYKcmyk(20.2%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.07, 48.91, -50.48)
CIE-LCHlch(66.07, 70.29, 314.09°)
OKLaboklab(72.77% 0.116 -0.141)
OKLCHoklch(72.77% 0.183 309.4)
XYZxyz(49.6374, 35.4118, 96.2969)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C982FC #B5FC82
analogous
#8C82FC #C982FC #FC82F2
triadic
#C982FC #FCC982 #82FCC9
tetradic
#C982FC #FC8C82 #B5FC82 #82F2FC
square
#C982FC #FC8C82 #B5FC82 #82F2FC
split-complementary
#C982FC #F2FC82 #82FC8C
monochromatic
#950AF9 #AF46FB #C982FC #E3BEFD #F2E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C982FC#FFFFFF#000000##000000
##C982FC1.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)
#639DFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#C296B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c982fc;
/* rgb */ color: rgb(201, 130, 252);
/* oklch */ color: oklch(72.8% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#dca8fe',
    500: '#c982fc',
    950: '#000000',
  },
}
SCSS
$custom: #c982fc;
$custom-light: #dca8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c982fc",
  "rgb": {
    "r": 201,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 274.918,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.18257,
    "h": 309.4
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C982FC

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

Preview Lab → · Contrast checker → · Palette generator →

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