#9C8AED#9C8AED

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

Color values

HEX#9C8AED
RGBrgb(156, 138, 237)
HSLhsl(251, 73%, 74%)
HSVhsv(251, 42%, 93%)
CMYKcmyk(34.2%, 41.8%, 0%, 7.1%)
CIE-LABlab(62.81, 28.91, -47.66)
CIE-LCHlch(62.81, 55.74, 301.24°)
OKLaboklab(69.08% 0.0501 -0.1339)
OKLCHoklch(69.08% 0.143 290.5)
XYZxyz(38.0808, 31.3584, 84.1508)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8AED #DBED8A
analogous
#8AA9ED #9C8AED #CD8AED
triadic
#9C8AED #ED9C8A #8AED9C
tetradic
#9C8AED #ED8AA9 #DBED8A #8AEDCD
square
#9C8AED #ED8AA9 #DBED8A #8AEDCD
split-complementary
#9C8AED #EDCD8A #A9ED8A
monochromatic
#4322DB #6F55E5 #9C8AED #C9BFF5 #E9E4FB

Accessibility & contrast

On white

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

On black

7.27
#9C8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8AED
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8AED#FFFFFF#000000##000000
##9C8AED1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#6B96EB
Tritanopia (blue-blind)
#889DB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c8aed;
/* rgb */ color: rgb(156, 138, 237);
/* oklch */ color: oklch(69.1% 0.143 290.5);
Tailwind
colors: {
  custom: {
    50: '#bcacf3',
    500: '#9c8aed',
    950: '#000000',
  },
}
SCSS
$custom: #9c8aed;
$custom-light: #bcacf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8aed",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.14296,
    "h": 290.5
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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