#9B6DFE#9B6DFE

#9B6DFE is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.1% C 0.207 H 294.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B6DFE
RGBrgb(155, 109, 254)
HSLhsl(259, 99%, 71%)
HSVhsv(259, 57%, 100%)
CMYKcmyk(39%, 57.1%, 0%, 0.4%)
CIE-LABlab(57.13, 49.42, -66.11)
CIE-LCHlch(57.13, 82.54, 306.78°)
OKLaboklab(65.13% 0.0861 -0.188)
OKLCHoklch(65.13% 0.207 294.6)
XYZxyz(36.8709, 25.0608, 96.6413)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B6DFE #D0FE6D
analogous
#6D87FE #9B6DFE #E36DFE
triadic
#9B6DFE #FE9B6D #6DFE9B
tetradic
#9B6DFE #FE6D87 #D0FE6D #6DFEE3
square
#9B6DFE #FE6D87 #D0FE6D #6DFEE3
split-complementary
#9B6DFE #FEE36D #87FE6D
monochromatic
#4D02EF #7130FE #9B6DFE #C5AAFE #EAE1FF

Accessibility & contrast

On white

3.49
#9B6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9B6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B6DFE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B6DFE#FFFFFF#000000##000000
##9B6DFE1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#168AFF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#828CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b6dfe;
/* rgb */ color: rgb(155, 109, 254);
/* oklch */ color: oklch(65.1% 0.207 294.6);
Tailwind
colors: {
  custom: {
    50: '#be98ff',
    500: '#9b6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #9b6dfe;
$custom-light: #be98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b6dfe",
  "rgb": {
    "r": 155,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 259.034,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.20675,
    "h": 294.6
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#9B6DFE
secondary
#EAF6D0
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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