#9B6DF2#9B6DF2

#9B6DF2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.192 H 296.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9B6DF2
RGBrgb(155, 109, 242)
HSLhsl(261, 84%, 69%)
HSVhsv(261, 55%, 95%)
CMYKcmyk(36%, 55%, 0%, 5.1%)
CIE-LABlab(56.40, 46.33, -60.64)
CIE-LCHlch(56.40, 76.31, 307.38°)
OKLaboklab(64.36% 0.086 -0.1719)
OKLCHoklch(64.36% 0.192 296.6)
XYZxyz(35.0092, 24.3161, 86.8362)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DF2 #C4F26D
analogous
#6D82F2 #9B6DF2 #DE6DF2
triadic
#9B6DF2 #F29B6D #6DF29B
tetradic
#9B6DF2 #F26D82 #C4F26D #6DF2DE
square
#9B6DF2 #F26D82 #C4F26D #6DF2DE
split-complementary
#9B6DF2 #F2DE6D #82F26D
monochromatic
#5513D2 #7535ED #9B6DF2 #C1A5F7 #E8DDFC

Accessibility & contrast

On white

3.58
#9B6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9B6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DF2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DF2#FFFFFF#000000##000000
##9B6DF21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#8788A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b6df2;
/* rgb */ color: rgb(155, 109, 242);
/* oklch */ color: oklch(64.4% 0.192 296.6);
Tailwind
colors: {
  custom: {
    50: '#bd98f7',
    500: '#9b6df2',
    950: '#000000',
  },
}
SCSS
$custom: #9b6df2;
$custom-light: #bd98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6df2",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 260.752,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.19223,
    "h": 296.6
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#9B6DF2
secondary
#E3F1CA
accent
#E00594
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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