#9C8AEE#9C8AEE

#9C8AEE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.1% C 0.144 H 290.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C8AEE
RGBrgb(156, 138, 238)
HSLhsl(251, 75%, 74%)
HSVhsv(251, 42%, 93%)
CMYKcmyk(34.5%, 42%, 0%, 6.7%)
CIE-LABlab(62.86, 29.17, -48.14)
CIE-LCHlch(62.86, 56.28, 301.22°)
OKLaboklab(69.14% 0.0503 -0.1353)
OKLCHoklch(69.14% 0.144 290.4)
XYZxyz(38.2273, 31.4170, 84.9223)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AEE #DCEE8A
analogous
#8AAAEE #9C8AEE #CE8AEE
triadic
#9C8AEE #EE9C8A #8AEE9C
tetradic
#9C8AEE #EE8AAA #DCEE8A #8AEECE
square
#9C8AEE #EE8AAA #DCEE8A #8AEECE
split-complementary
#9C8AEE #EECE8A #AAEE8A
monochromatic
#4220DD #6F55E6 #9C8AEE #C9BFF6 #E8E4FB

Accessibility & contrast

On white

2.88
#9C8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#9C8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8AEE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8AEE#FFFFFF#000000##000000
##9C8AEE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#889DB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8aee;
/* rgb */ color: rgb(156, 138, 238);
/* oklch */ color: oklch(69.1% 0.144 290.4);
Tailwind
colors: {
  custom: {
    50: '#bcacf4',
    500: '#9c8aee',
    950: '#000000',
  },
}
SCSS
$custom: #9c8aee;
$custom-light: #bcacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8aee",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 250.8,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.14431,
    "h": 290.4
  },
  "luminance": 0.31418
}

Semantic roles & 50–950 ramp

primary
#9C8AEE
secondary
#EEF3D8
accent
#D70FB3
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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