#9C8BE2#9C8BE2

#9C8BE2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 68.7% C 0.126 H 291.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9C8BE2
RGBrgb(156, 139, 226)
HSLhsl(252, 60%, 72%)
HSVhsv(252, 38%, 89%)
CMYKcmyk(31%, 38.5%, 0%, 11.4%)
CIE-LABlab(62.53, 25.50, -42.01)
CIE-LCHlch(62.53, 49.15, 301.26°)
OKLaboklab(68.7% 0.0467 -0.1175)
OKLCHoklch(68.7% 0.126 291.7)
XYZxyz(36.6669, 31.0234, 75.9930)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8BE2 #D1E28B
analogous
#8BA6E2 #9C8BE2 #C88BE2
triadic
#9C8BE2 #E29C8B #8BE29C
tetradic
#9C8BE2 #E28BA6 #D1E28B #8BE2C8
square
#9C8BE2 #E28BA6 #D1E28B #8BE2C8
split-complementary
#9C8BE2 #E2C88B #A6E28B
monochromatic
#4D31C2 #725AD6 #9C8BE2 #C6BCEE #EAE7F9

Accessibility & contrast

On white

2.91
#9C8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9C8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8BE2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8BE2#FFFFFF#000000##000000
##9C8BE21.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E5
Deuteranopia (green-blind)
#7396E0
Tritanopia (blue-blind)
#8C9BAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c8be2;
/* rgb */ color: rgb(156, 139, 226);
/* oklch */ color: oklch(68.7% 0.126 291.7);
Tailwind
colors: {
  custom: {
    50: '#bbadeb',
    500: '#9c8be2',
    950: '#000000',
  },
}
SCSS
$custom: #9c8be2;
$custom-light: #bbadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8be2",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 251.724,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.12644,
    "h": 291.7
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

primary
#9C8BE2
secondary
#EBF0D9
accent
#C81EA6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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