#9C8AEB#9C8AEB

#9C8AEB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.0% C 0.140 H 290.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9C8AEB
RGBrgb(156, 138, 235)
HSLhsl(251, 71%, 73%)
HSVhsv(251, 41%, 92%)
CMYKcmyk(33.6%, 41.3%, 0%, 7.8%)
CIE-LABlab(62.71, 28.39, -46.71)
CIE-LCHlch(62.71, 54.66, 301.29°)
OKLaboklab(68.98% 0.0497 -0.1311)
OKLCHoklch(68.98% 0.14 290.8)
XYZxyz(37.7903, 31.2422, 82.6205)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AEB #D9EB8A
analogous
#8AA8EB #9C8AEB #CC8AEB
triadic
#9C8AEB #EB9C8A #8AEB9C
tetradic
#9C8AEB #EB8AA8 #D9EB8A #8AEBCC
square
#9C8AEB #EB8AA8 #D9EB8A #8AEBCC
split-complementary
#9C8AEB #EBCC8A #A8EB8A
monochromatic
#4625D6 #7056E2 #9C8AEB #C8BEF4 #E9E5FB

Accessibility & contrast

On white

2.90
#9C8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9C8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8AEB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8AEB#FFFFFF#000000##000000
##9C8AEB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#899CAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8aeb;
/* rgb */ color: rgb(156, 138, 235);
/* oklch */ color: oklch(69.0% 0.140 290.8);
Tailwind
colors: {
  custom: {
    50: '#bcacf2',
    500: '#9c8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #9c8aeb;
$custom-light: #bcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8aeb",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 251.134,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68978,
    "c": 0.14025,
    "h": 290.8
  },
  "luminance": 0.31243
}

Semantic roles & 50–950 ramp

primary
#9C8AEB
secondary
#EDF2D9
accent
#D313AF
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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