#9C81EF#9C81EF

#9C81EF is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.6% C 0.159 H 293.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9C81EF
RGBrgb(156, 129, 239)
HSLhsl(255, 77%, 72%)
HSVhsv(255, 46%, 94%)
CMYKcmyk(34.7%, 46%, 0%, 6.3%)
CIE-LABlab(60.78, 34.58, -51.98)
CIE-LCHlch(60.78, 62.43, 303.63°)
OKLaboklab(67.59% 0.062 -0.1465)
OKLCHoklch(67.59% 0.159 293)
XYZxyz(37.1365, 28.9996, 85.2855)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C81EF #D4EF81
analogous
#819DEF #9C81EF #D381EF
triadic
#9C81EF #EF9C81 #81EF9C
tetradic
#9C81EF #EF819D #D4EF81 #81EFD3
square
#9C81EF #EF819D #D4EF81 #81EFD3
split-complementary
#9C81EF #EFD381 #9DEF81
monochromatic
#4A1CDA #714BE8 #9C81EF #C7B7F6 #EAE4FC

Accessibility & contrast

On white

3.09
#9C81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9C81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C81EF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C81EF#FFFFFF#000000##000000
##9C81EF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#8896AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c81ef;
/* rgb */ color: rgb(156, 129, 239);
/* oklch */ color: oklch(67.6% 0.159 293.0);
Tailwind
colors: {
  custom: {
    50: '#bca6f5',
    500: '#9c81ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c81ef;
$custom-light: #bca6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c81ef",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 254.727,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67586,
    "c": 0.15909,
    "h": 293
  },
  "luminance": 0.29
}

Semantic roles & 50–950 ramp

primary
#9C81EF
secondary
#EDF3D8
accent
#DA0CA7
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #9C81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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