#9B6EE4#9B6EE4

#9B6EE4 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.174 H 299.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9B6EE4
RGBrgb(155, 110, 228)
HSLhsl(263, 69%, 66%)
HSVhsv(263, 52%, 89%)
CMYKcmyk(32%, 51.8%, 0%, 10.6%)
CIE-LABlab(55.81, 42.24, -53.77)
CIE-LCHlch(55.81, 68.38, 308.15°)
OKLaboklab(63.65% 0.0842 -0.1518)
OKLCHoklch(63.65% 0.174 299)
XYZxyz(33.0937, 23.7216, 76.2189)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6EE4 #B7E46E
analogous
#6E7CE4 #9B6EE4 #D66EE4
triadic
#9B6EE4 #E49B6E #6EE49B
tetradic
#9B6EE4 #E46E7C #B7E46E #6EE4D6
square
#9B6EE4 #E46E7C #B7E46E #6EE4D6
split-complementary
#9B6EE4 #E4D66E #7CE46E
monochromatic
#5A22B6 #773ADA #9B6EE4 #BFA2EE #E2D5F7

Accessibility & contrast

On white

3.66
#9B6EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9B6EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6EE4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6EE4#FFFFFF#000000##000000
##9B6EE41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E8
Deuteranopia (green-blind)
#4F85E1
Tritanopia (blue-blind)
#8C859F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6ee4;
/* rgb */ color: rgb(155, 110, 228);
/* oklch */ color: oklch(63.7% 0.174 299.0);
Tailwind
colors: {
  custom: {
    50: '#bc99ed',
    500: '#9b6ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ee4;
$custom-light: #bc99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ee4",
  "rgb": {
    "r": 155,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 262.881,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63655,
    "c": 0.17356,
    "h": 299
  },
  "luminance": 0.23722
}

Semantic roles & 50–950 ramp

primary
#9B6EE4
secondary
#DBEAC4
accent
#D11589
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B6EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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