#C981EA#C981EA

#C981EA is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.164 H 314.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C981EA
RGBrgb(201, 129, 234)
HSLhsl(281, 71%, 71%)
HSVhsv(281, 45%, 92%)
CMYKcmyk(14.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(65.01, 45.61, -42.24)
CIE-LCHlch(65.01, 62.16, 317.19°)
OKLaboklab(71.71% 0.1149 -0.1171)
OKLCHoklch(71.71% 0.164 314.4)
XYZxyz(46.7866, 34.0597, 81.9355)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C981EA #A2EA81
analogous
#9481EA #C981EA #EA81D6
triadic
#C981EA #EAC981 #81EAC9
tetradic
#C981EA #EA9481 #A2EA81 #81D6EA
square
#C981EA #EA9481 #A2EA81 #81D6EA
split-complementary
#C981EA #D6EA81 #81EA94
monochromatic
#9822CE #B34DE1 #C981EA #DFB5F3 #F4E5FB

Accessibility & contrast

On white

2.69
#C981EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C981EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C981EA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C981EA#FFFFFF#000000##000000
##C981EA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#C790AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c981ea;
/* rgb */ color: rgb(201, 129, 234);
/* oklch */ color: oklch(71.7% 0.164 314.4);
Tailwind
colors: {
  custom: {
    50: '#dba7f1',
    500: '#c981ea',
    950: '#000000',
  },
}
SCSS
$custom: #c981ea;
$custom-light: #dba7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c981ea",
  "rgb": {
    "r": 201,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 281.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.16409,
    "h": 314.4
  },
  "luminance": 0.34059
}

Semantic roles & 50–950 ramp

primary
#C981EA
secondary
#DEF1D6
accent
#D3124F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C981EA

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

Preview Lab → · Contrast checker → · Palette generator →

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