#9C81DB#9C81DB

#9C81DB is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.5% C 0.133 H 296.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9C81DB
RGBrgb(156, 129, 219)
HSLhsl(258, 56%, 68%)
HSVhsv(258, 41%, 86%)
CMYKcmyk(28.8%, 41.1%, 0%, 14.1%)
CIE-LABlab(59.78, 29.48, -42.43)
CIE-LCHlch(59.78, 51.66, 304.79°)
OKLaboklab(66.51% 0.059 -0.1187)
OKLCHoklch(66.51% 0.133 296.4)
XYZxyz(34.3437, 27.8825, 70.5766)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C81DB #C0DB81
analogous
#8193DB #9C81DB #C981DB
triadic
#9C81DB #DB9C81 #81DB9C
tetradic
#9C81DB #DB8193 #C0DB81 #81DBC9
square
#9C81DB #DB8193 #C0DB81 #81DBC9
split-complementary
#9C81DB #DBC981 #93DB81
monochromatic
#5832AF #7751CD #9C81DB #C1B1E9 #E7E0F6

Accessibility & contrast

On white

3.19
#9C81DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#9C81DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C81DB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C81DB#FFFFFF#000000##000000
##9C81DB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DE
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#8F91A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9c81db;
/* rgb */ color: rgb(156, 129, 219);
/* oklch */ color: oklch(66.5% 0.133 296.4);
Tailwind
colors: {
  custom: {
    50: '#bba6e6',
    500: '#9c81db',
    950: '#000000',
  },
}
SCSS
$custom: #9c81db;
$custom-light: #bba6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c81db",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 258,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.13253,
    "h": 296.4
  },
  "luminance": 0.27883
}

Semantic roles & 50–950 ramp

primary
#9C81DB
secondary
#E1EACE
accent
#C32293
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9C81DB

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

Preview Lab → · Contrast checker → · Palette generator →

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