#9B6CEB#9B6CEB

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

Color values

HEX#9B6CEB
RGBrgb(155, 108, 235)
HSLhsl(262, 76%, 67%)
HSVhsv(262, 54%, 92%)
CMYKcmyk(34%, 54%, 0%, 7.8%)
CIE-LABlab(55.78, 45.10, -57.74)
CIE-LCHlch(55.78, 73.27, 308.00°)
OKLaboklab(63.76% 0.087 -0.1634)
OKLCHoklch(63.76% 0.185 298)
XYZxyz(33.8718, 23.6914, 81.3695)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6CEB #BCEB6C
analogous
#6C7CEB #9B6CEB #DB6CEB
triadic
#9B6CEB #EB9B6C #6CEB9B
tetradic
#9B6CEB #EB6C7C #BCEB6C #6CEBDB
square
#9B6CEB #EB6C7C #BCEB6C #6CEBDB
split-complementary
#9B6CEB #EBDB6C #7CEB6C
monochromatic
#591AC2 #7636E4 #9B6CEB #C0A2F2 #E4D8FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B6CEB#FFFFFF#000000##000000
##9B6CEB1.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)
#3786EF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#8986A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6ceb;
/* rgb */ color: rgb(155, 108, 235);
/* oklch */ color: oklch(63.8% 0.185 298.0);
Tailwind
colors: {
  custom: {
    50: '#bc97f2',
    500: '#9b6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ceb;
$custom-light: #bc97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ceb",
  "rgb": {
    "r": 155,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 262.205,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63762,
    "c": 0.18514,
    "h": 298
  },
  "luminance": 0.23692
}

Semantic roles & 50–950 ramp

primary
#9B6CEB
secondary
#DFEDC5
accent
#D80D8D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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