#9B7AED#9B7AED

#9B7AED is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.167 H 294.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B7AED
RGBrgb(155, 122, 237)
HSLhsl(257, 76%, 70%)
HSVhsv(257, 49%, 93%)
CMYKcmyk(34.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(58.98, 37.78, -53.75)
CIE-LCHlch(58.98, 65.70, 305.11°)
OKLaboklab(66.18% 0.0696 -0.1517)
OKLCHoklch(66.18% 0.167 294.6)
XYZxyz(35.7593, 27.0014, 83.4321)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7AED #CCED7A
analogous
#7A93ED #9B7AED #D47AED
triadic
#9B7AED #ED9B7A #7AED9B
tetradic
#9B7AED #ED7A93 #CCED7A #7AEDD4
square
#9B7AED #ED7A93 #CCED7A #7AEDD4
split-complementary
#9B7AED #EDD47A #93ED7A
monochromatic
#501CD0 #7244E6 #9B7AED #C4B0F4 #EBE4FB

Accessibility & contrast

On white

3.28
#9B7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9B7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7AED
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7AED#FFFFFF#000000##000000
##9B7AED1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b7aed;
/* rgb */ color: rgb(155, 122, 237);
/* oklch */ color: oklch(66.2% 0.167 294.6);
Tailwind
colors: {
  custom: {
    50: '#bca1f3',
    500: '#9b7aed',
    950: '#000000',
  },
}
SCSS
$custom: #9b7aed;
$custom-light: #bca1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7aed",
  "rgb": {
    "r": 155,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 257.217,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.16689,
    "h": 294.6
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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