#9B6FE2#9B6FE2

#9B6FE2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.170 H 299.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B6FE2
RGBrgb(155, 111, 226)
HSLhsl(263, 66%, 66%)
HSVhsv(263, 51%, 89%)
CMYKcmyk(31.4%, 50.9%, 0%, 11.4%)
CIE-LABlab(55.92, 41.18, -52.48)
CIE-LCHlch(55.92, 66.71, 308.12°)
OKLaboklab(63.7% 0.0827 -0.148)
OKLCHoklch(63.7% 0.17 299.2)
XYZxyz(32.9262, 23.8282, 74.8014)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6FE2 #B6E26F
analogous
#6F7CE2 #9B6FE2 #D56FE2
triadic
#9B6FE2 #E29B6F #6FE29B
tetradic
#9B6FE2 #E26F7C #B6E26F #6FE2D5
square
#9B6FE2 #E26F7C #B6E26F #6FE2D5
split-complementary
#9B6FE2 #E2D56F #7CE26F
monochromatic
#5B24B3 #783CD8 #9B6FE2 #BEA2EC #E2D5F7

Accessibility & contrast

On white

3.64
#9B6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9B6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6FE2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6FE2#FFFFFF#000000##000000
##9B6FE21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#5285DF
Tritanopia (blue-blind)
#8C859E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6fe2;
/* rgb */ color: rgb(155, 111, 226);
/* oklch */ color: oklch(63.7% 0.170 299.2);
Tailwind
colors: {
  custom: {
    50: '#bc99ec',
    500: '#9b6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #9b6fe2;
$custom-light: #bc99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6fe2",
  "rgb": {
    "r": 155,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 262.957,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63699,
    "c": 0.16955,
    "h": 299.2
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

primary
#9B6FE2
secondary
#DBE9C4
accent
#CE1788
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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