#9C7AED#9C7AED

#9C7AED is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.167 H 295.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C7AED
RGBrgb(156, 122, 237)
HSLhsl(258, 76%, 70%)
HSVhsv(258, 49%, 93%)
CMYKcmyk(34.2%, 48.5%, 0%, 7.1%)
CIE-LABlab(59.07, 38.04, -53.60)
CIE-LCHlch(59.07, 65.72, 305.36°)
OKLaboklab(66.27% 0.0708 -0.1512)
OKLCHoklch(66.27% 0.167 295.1)
XYZxyz(35.9520, 27.1008, 83.4412)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7AED #CBED7A
analogous
#7A91ED #9C7AED #D57AED
triadic
#9C7AED #ED9C7A #7AED9C
tetradic
#9C7AED #ED7A91 #CBED7A #7AEDD5
square
#9C7AED #ED7A91 #CBED7A #7AEDD5
split-complementary
#9C7AED #EDD57A #91ED7A
monochromatic
#511CD0 #7444E6 #9C7AED #C4B0F4 #EBE4FB

Accessibility & contrast

On white

3.27
#9C7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9C7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7AED
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7AED#FFFFFF#000000##000000
##9C7AED1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#588CEA
Tritanopia (blue-blind)
#8990A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c7aed;
/* rgb */ color: rgb(156, 122, 237);
/* oklch */ color: oklch(66.3% 0.167 295.1);
Tailwind
colors: {
  custom: {
    50: '#bda1f3',
    500: '#9c7aed',
    950: '#000000',
  },
}
SCSS
$custom: #9c7aed;
$custom-light: #bda1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7aed",
  "rgb": {
    "r": 156,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 257.739,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.16697,
    "h": 295.1
  },
  "luminance": 0.27101
}

Semantic roles & 50–950 ramp

primary
#9C7AED
secondary
#E8F1D2
accent
#D80D9C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9C7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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