#9B6BF1#9B6BF1

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

Color values

HEX#9B6BF1
RGBrgb(155, 107, 241)
HSLhsl(261, 83%, 68%)
HSVhsv(261, 56%, 95%)
CMYKcmyk(35.7%, 55.6%, 0%, 5.5%)
CIE-LABlab(55.92, 47.17, -60.85)
CIE-LCHlch(55.92, 77.00, 307.78°)
OKLaboklab(63.98% 0.0884 -0.1725)
OKLCHoklch(63.98% 0.194 297.1)
XYZxyz(34.6484, 23.8343, 85.9770)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6BF1 #C1F16B
analogous
#6B7EF1 #9B6BF1 #DE6BF1
triadic
#9B6BF1 #F19B6B #6BF19B
tetradic
#9B6BF1 #F16B7E #C1F16B #6BF1DE
square
#9B6BF1 #F16B7E #C1F16B #6BF1DE
split-complementary
#9B6BF1 #F1DE6B #7EF16B
monochromatic
#5613CE #7533EC #9B6BF1 #C1A3F6 #E7DBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B6BF1#FFFFFF#000000##000000
##9B6BF11.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)
#2B87F5
Deuteranopia (green-blind)
#3D84EE
Tritanopia (blue-blind)
#8787A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6bf1;
/* rgb */ color: rgb(155, 107, 241);
/* oklch */ color: oklch(64.0% 0.194 297.1);
Tailwind
colors: {
  custom: {
    50: '#bd97f6',
    500: '#9b6bf1',
    950: '#000000',
  },
}
SCSS
$custom: #9b6bf1;
$custom-light: #bd97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6bf1",
  "rgb": {
    "r": 155,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 261.493,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.19387,
    "h": 297.1
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#9B6BF1
secondary
#E2F0C8
accent
#DF0691
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B6BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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