#9C81CE#9C81CE

#9C81CE is a light, moderate violet. Relative luminance 0.272; OKLCH L 65.9% C 0.115 H 299.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C81CE
RGBrgb(156, 129, 206)
HSLhsl(261, 44%, 66%)
HSVhsv(261, 37%, 81%)
CMYKcmyk(24.3%, 37.4%, 0%, 19.2%)
CIE-LABlab(59.18, 26.29, -36.07)
CIE-LCHlch(59.18, 44.63, 306.09°)
OKLaboklab(65.85% 0.0564 -0.1003)
OKLCHoklch(65.85% 0.115 299.4)
XYZxyz(32.6986, 27.2245, 61.9127)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C81CE #B3CE81
analogous
#818CCE #9C81CE #C281CE
triadic
#9C81CE #CE9C81 #81CE9C
tetradic
#9C81CE #CE818C #B3CE81 #81CEC2
square
#9C81CE #CE818C #B3CE81 #81CEC2
split-complementary
#9C81CE #CEC281 #8CCE81
monochromatic
#5C3C99 #7955BD #9C81CE #BFADDF #E1D9F0

Accessibility & contrast

On white

3.26
#9C81CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9C81CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C81CE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C81CE#FFFFFF#000000##000000
##9C81CE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED1
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#938E9E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c81ce;
/* rgb */ color: rgb(156, 129, 206);
/* oklch */ color: oklch(65.9% 0.115 299.4);
Tailwind
colors: {
  custom: {
    50: '#baa6dd',
    500: '#9c81ce',
    950: '#000000',
  },
}
SCSS
$custom: #9c81ce;
$custom-light: #baa6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c81ce",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 261.039,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.11507,
    "h": 299.4
  },
  "luminance": 0.27225
}

Semantic roles & 50–950 ramp

primary
#9C81CE
secondary
#D9E2C9
accent
#B72E87
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9C81CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9C81CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva