#9B6EF8#9B6EF8

#9B6EF8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.198 H 295.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B6EF8
RGBrgb(155, 110, 248)
HSLhsl(260, 91%, 70%)
HSVhsv(260, 56%, 97%)
CMYKcmyk(37.5%, 55.6%, 0%, 2.7%)
CIE-LABlab(56.97, 47.32, -63.05)
CIE-LCHlch(56.97, 78.83, 306.89°)
OKLaboklab(64.89% 0.0849 -0.179)
OKLCHoklch(64.89% 0.198 295.4)
XYZxyz(36.0324, 24.8970, 91.6959)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6EF8 #CBF86E
analogous
#6E86F8 #9B6EF8 #E06EF8
triadic
#9B6EF8 #F89B6E #6EF89B
tetradic
#9B6EF8 #F86E86 #CBF86E #6EF8E0
square
#9B6EF8 #F86E86 #CBF86E #6EF8E0
split-complementary
#9B6EF8 #F8E06E #86F86E
monochromatic
#510BE1 #7334F5 #9B6EF8 #C3A8FB #EBE2FE

Accessibility & contrast

On white

3.51
#9B6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9B6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6EF8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6EF8#FFFFFF#000000##000000
##9B6EF81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#3987F5
Tritanopia (blue-blind)
#848BA9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b6ef8;
/* rgb */ color: rgb(155, 110, 248);
/* oklch */ color: oklch(64.9% 0.198 295.4);
Tailwind
colors: {
  custom: {
    50: '#bd99fb',
    500: '#9b6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ef8;
$custom-light: #bd99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ef8",
  "rgb": {
    "r": 155,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 259.565,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.19811,
    "h": 295.4
  },
  "luminance": 0.24898
}

Semantic roles & 50–950 ramp

primary
#9B6EF8
secondary
#E8F4CE
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9B6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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