#9B6DF8#9B6DF8

#9B6DF8 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.200 H 295.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B6DF8
RGBrgb(155, 109, 248)
HSLhsl(260, 91%, 70%)
HSVhsv(260, 56%, 97%)
CMYKcmyk(37.5%, 56%, 0%, 2.7%)
CIE-LABlab(56.76, 47.87, -63.39)
CIE-LCHlch(56.76, 79.43, 307.06°)
OKLaboklab(64.74% 0.0861 -0.18)
OKLCHoklch(64.74% 0.2 295.6)
XYZxyz(35.9251, 24.6825, 91.6602)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DF8 #CAF86D
analogous
#6D85F8 #9B6DF8 #E06DF8
triadic
#9B6DF8 #F89B6D #6DF89B
tetradic
#9B6DF8 #F86D85 #CAF86D #6DF8E0
square
#9B6DF8 #F86D85 #CAF86D #6DF8E0
split-complementary
#9B6DF8 #F8E06D #85F86D
monochromatic
#510BE0 #7333F5 #9B6DF8 #C3A7FB #EBE2FE

Accessibility & contrast

On white

3.54
#9B6DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9B6DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DF8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DF8#FFFFFF#000000##000000
##9B6DF81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#3786F5
Tritanopia (blue-blind)
#848AA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b6df8;
/* rgb */ color: rgb(155, 109, 248);
/* oklch */ color: oklch(64.7% 0.200 295.6);
Tailwind
colors: {
  custom: {
    50: '#bd98fb',
    500: '#9b6df8',
    950: '#000000',
  },
}
SCSS
$custom: #9b6df8;
$custom-light: #bd98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6df8",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 259.856,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.64739,
    "c": 0.19951,
    "h": 295.6
  },
  "luminance": 0.24683
}

Semantic roles & 50–950 ramp

primary
#9B6DF8
secondary
#E7F4CD
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9B6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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