#9B6CE6#9B6CE6

#9B6CE6 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.5% C 0.179 H 299.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9B6CE6
RGBrgb(155, 108, 230)
HSLhsl(263, 71%, 66%)
HSVhsv(263, 53%, 90%)
CMYKcmyk(32.6%, 53%, 0%, 9.8%)
CIE-LABlab(55.49, 43.85, -55.41)
CIE-LCHlch(55.49, 70.66, 308.36°)
OKLaboklab(63.46% 0.0868 -0.1566)
OKLCHoklch(63.46% 0.179 299)
XYZxyz(33.1596, 23.4066, 77.6185)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6CE6 #B7E66C
analogous
#6C7AE6 #9B6CE6 #D86CE6
triadic
#9B6CE6 #E69B6C #6CE69B
tetradic
#9B6CE6 #E66C7A #B7E66C #6CE6D8
square
#9B6CE6 #E66C7A #B7E66C #6CE6D8
split-complementary
#9B6CE6 #E6D86C #7AE66C
monochromatic
#5A1FB8 #7738DD #9B6CE6 #BFA0EF #E2D5F8

Accessibility & contrast

On white

3.70
#9B6CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9B6CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6CE6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6CE6#FFFFFF#000000##000000
##9B6CE61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EA
Deuteranopia (green-blind)
#4A84E3
Tritanopia (blue-blind)
#8B849F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9b6ce6;
/* rgb */ color: rgb(155, 108, 230);
/* oklch */ color: oklch(63.5% 0.179 299.0);
Tailwind
colors: {
  custom: {
    50: '#bc97ee',
    500: '#9b6ce6',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ce6;
$custom-light: #bc97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ce6",
  "rgb": {
    "r": 155,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 263.115,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63455,
    "c": 0.17901,
    "h": 299
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#9B6CE6
secondary
#DBEBC3
accent
#D31389
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B6CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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