#9B6AEE#9B6AEE

#9B6AEE is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.6% C 0.192 H 297.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9B6AEE
RGBrgb(155, 106, 238)
HSLhsl(262, 80%, 67%)
HSVhsv(262, 55%, 93%)
CMYKcmyk(34.9%, 55.5%, 0%, 6.7%)
CIE-LABlab(55.53, 46.96, -59.81)
CIE-LCHlch(55.53, 76.04, 308.14°)
OKLaboklab(63.64% 0.0895 -0.1695)
OKLCHoklch(63.64% 0.192 297.8)
XYZxyz(34.1004, 23.4492, 83.6019)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6AEE #BDEE6A
analogous
#6A7BEE #9B6AEE #DD6AEE
triadic
#9B6AEE #EE9B6A #6AEE9B
tetradic
#9B6AEE #EE6A7B #BDEE6A #6AEEDD
square
#9B6AEE #EE6A7B #BDEE6A #6AEEDD
split-complementary
#9B6AEE #EEDD6A #7BEE6A
monochromatic
#5817C7 #7633E8 #9B6AEE #C0A1F4 #E5D8FB

Accessibility & contrast

On white

3.69
#9B6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#9B6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6AEE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6AEE#FFFFFF#000000##000000
##9B6AEE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#8885A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b6aee;
/* rgb */ color: rgb(155, 106, 238);
/* oklch */ color: oklch(63.6% 0.192 297.8);
Tailwind
colors: {
  custom: {
    50: '#bd96f4',
    500: '#9b6aee',
    950: '#000000',
  },
}
SCSS
$custom: #9b6aee;
$custom-light: #bd96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6aee",
  "rgb": {
    "r": 155,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 262.273,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.19168,
    "h": 297.8
  },
  "luminance": 0.2345
}

Semantic roles & 50–950 ramp

primary
#9B6AEE
secondary
#DFEFC5
accent
#DC0A8E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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