#9B6BF2#9B6BF2

#9B6BF2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.195 H 296.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9B6BF2
RGBrgb(155, 107, 242)
HSLhsl(261, 84%, 68%)
HSVhsv(261, 56%, 95%)
CMYKcmyk(36%, 55.8%, 0%, 5.1%)
CIE-LABlab(55.98, 47.43, -61.31)
CIE-LCHlch(55.98, 77.52, 307.72°)
OKLaboklab(64.05% 0.0884 -0.1739)
OKLCHoklch(64.05% 0.195 296.9)
XYZxyz(34.7982, 23.8942, 86.7659)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6BF2 #C2F26B
analogous
#6B7EF2 #9B6BF2 #DE6BF2
triadic
#9B6BF2 #F29B6B #6BF29B
tetradic
#9B6BF2 #F26B7E #C2F26B #6BF2DE
square
#9B6BF2 #F26B7E #C2F26B #6BF2DE
split-complementary
#9B6BF2 #F2DE6B #7EF26B
monochromatic
#5612D0 #7533ED #9B6BF2 #C1A3F7 #E7DCFC

Accessibility & contrast

On white

3.63
#9B6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9B6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6BF2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6BF2#FFFFFF#000000##000000
##9B6BF21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#8787A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b6bf2;
/* rgb */ color: rgb(155, 107, 242);
/* oklch */ color: oklch(64.0% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#bd97f7',
    500: '#9b6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #9b6bf2;
$custom-light: #bd97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6bf2",
  "rgb": {
    "r": 155,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 261.333,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64046,
    "c": 0.19507,
    "h": 296.9
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#9B6BF2
secondary
#E2F1C8
accent
#E00592
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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