#9B6EF7#9B6EF7

#9B6EF7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.8% C 0.197 H 295.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9B6EF7
RGBrgb(155, 110, 247)
HSLhsl(260, 90%, 70%)
HSVhsv(260, 55%, 97%)
CMYKcmyk(37.2%, 55.5%, 0%, 3.1%)
CIE-LABlab(56.91, 47.07, -62.59)
CIE-LCHlch(56.91, 78.31, 306.94°)
OKLaboklab(64.83% 0.0849 -0.1777)
OKLCHoklch(64.83% 0.197 295.5)
XYZxyz(35.8777, 24.8351, 90.8811)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6EF7 #CAF76E
analogous
#6E86F7 #9B6EF7 #DF6EF7
triadic
#9B6EF7 #F79B6E #6EF79B
tetradic
#9B6EF7 #F76E86 #CAF76E #6EF7DF
square
#9B6EF7 #F76E86 #CAF76E #6EF7DF
split-complementary
#9B6EF7 #F7DF6E #86F76E
monochromatic
#510CDE #7334F4 #9B6EF7 #C3A8FA #EBE2FD

Accessibility & contrast

On white

3.52
#9B6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9B6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6EF7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6EF7#FFFFFF#000000##000000
##9B6EF71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8AFC
Deuteranopia (green-blind)
#3A87F4
Tritanopia (blue-blind)
#858BA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b6ef7;
/* rgb */ color: rgb(155, 110, 247);
/* oklch */ color: oklch(64.8% 0.197 295.5);
Tailwind
colors: {
  custom: {
    50: '#bd99fb',
    500: '#9b6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9b6ef7;
$custom-light: #bd99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6ef7",
  "rgb": {
    "r": 155,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 259.708,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.1969,
    "h": 295.5
  },
  "luminance": 0.24836
}

Semantic roles & 50–950 ramp

primary
#9B6EF7
secondary
#E7F4CD
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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