#C981FE#C981FE

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

Color values

HEX#C981FE
RGBrgb(201, 129, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.9%, 49.2%, 0%, 0.4%)
CIE-LABlab(65.96, 49.87, -51.74)
CIE-LCHlch(65.96, 71.86, 313.94°)
OKLaboklab(72.72% 0.1175 -0.1447)
OKLCHoklch(72.72% 0.186 309.1)
XYZxyz(49.8236, 35.2745, 97.9307)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C981FE #B6FE81
analogous
#8A81FE #C981FE #FE81F4
triadic
#C981FE #FEC981 #81FEC9
tetradic
#C981FE #FE8A81 #B6FE81 #81F4FE
square
#C981FE #FE8A81 #B6FE81 #81F4FE
split-complementary
#C981FE #F4FE81 #81FE8A
monochromatic
#9508FD #AF44FE #C981FE #E3BEFE #F2E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C981FE#FFFFFF#000000##000000
##C981FE1.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)
#609DFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#C296B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c981fe;
/* rgb */ color: rgb(201, 129, 254);
/* oklch */ color: oklch(72.7% 0.186 309.1);
Tailwind
colors: {
  custom: {
    50: '#dca7ff',
    500: '#c981fe',
    950: '#000000',
  },
}
SCSS
$custom: #c981fe;
$custom-light: #dca7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c981fe",
  "rgb": {
    "r": 201,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 274.56,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.18638,
    "h": 309.1
  },
  "luminance": 0.35274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C981FE

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

Preview Lab → · Contrast checker → · Palette generator →

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