#9B6BEF#9B6BEF

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

Color values

HEX#9B6BEF
RGBrgb(155, 107, 239)
HSLhsl(262, 80%, 68%)
HSVhsv(262, 55%, 94%)
CMYKcmyk(35.1%, 55.2%, 0%, 6.3%)
CIE-LABlab(55.80, 46.66, -59.93)
CIE-LCHlch(55.80, 75.96, 307.90°)
OKLaboklab(63.86% 0.0884 -0.1698)
OKLCHoklch(63.86% 0.191 297.5)
XYZxyz(34.3514, 23.7155, 84.4124)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6BEF #BFEF6B
analogous
#6B7DEF #9B6BEF #DD6BEF
triadic
#9B6BEF #EF9B6B #6BEF9B
tetradic
#9B6BEF #EF6B7D #BFEF6B #6BEFDD
square
#9B6BEF #EF6B7D #BFEF6B #6BEFDD
split-complementary
#9B6BEF #EFDD6B #7DEF6B
monochromatic
#5716CA #7634E9 #9B6BEF #C0A2F5 #E6D9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B6BEF#FFFFFF#000000##000000
##9B6BEF1.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)
#2E86F3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#8886A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6bef;
/* rgb */ color: rgb(155, 107, 239);
/* oklch */ color: oklch(63.9% 0.191 297.5);
Tailwind
colors: {
  custom: {
    50: '#bd97f5',
    500: '#9b6bef',
    950: '#000000',
  },
}
SCSS
$custom: #9b6bef;
$custom-light: #bd97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6bef",
  "rgb": {
    "r": 155,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 261.818,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63856,
    "c": 0.19145,
    "h": 297.5
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#9B6BEF
secondary
#E0EFC7
accent
#DD0990
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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