#9C8AEC#9C8AEC

#9C8AEC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.0% C 0.142 H 290.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C8AEC
RGBrgb(156, 138, 236)
HSLhsl(251, 72%, 73%)
HSVhsv(251, 42%, 93%)
CMYKcmyk(33.9%, 41.5%, 0%, 7.5%)
CIE-LABlab(62.76, 28.65, -47.19)
CIE-LCHlch(62.76, 55.20, 301.26°)
OKLaboklab(69.03% 0.0499 -0.1325)
OKLCHoklch(69.03% 0.142 290.6)
XYZxyz(37.9351, 31.3001, 83.3835)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AEC #DAEC8A
analogous
#8AA9EC #9C8AEC #CD8AEC
triadic
#9C8AEC #EC9C8A #8AEC9C
tetradic
#9C8AEC #EC8AA9 #DAEC8A #8AECCD
square
#9C8AEC #EC8AA9 #DAEC8A #8AECCD
split-complementary
#9C8AEC #ECCD8A #A9EC8A
monochromatic
#4423D8 #6F55E3 #9C8AEC #C9BFF5 #E9E5FB

Accessibility & contrast

On white

2.89
#9C8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9C8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8AEC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8AEC#FFFFFF#000000##000000
##9C8AEC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF0
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#889CB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8aec;
/* rgb */ color: rgb(156, 138, 236);
/* oklch */ color: oklch(69.0% 0.142 290.6);
Tailwind
colors: {
  custom: {
    50: '#bcacf2',
    500: '#9c8aec',
    950: '#000000',
  },
}
SCSS
$custom: #9c8aec;
$custom-light: #bcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8aec",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 251.02,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69031,
    "c": 0.1416,
    "h": 290.6
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#9C8AEC
secondary
#EEF2D9
accent
#D411B0
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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