#9E6BFB#9E6BFB

#9E6BFB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 64.9% C 0.206 H 296.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9E6BFB
RGBrgb(158, 107, 251)
HSLhsl(261, 95%, 70%)
HSVhsv(261, 57%, 98%)
CMYKcmyk(37.1%, 57.4%, 0%, 1.6%)
CIE-LABlab(56.83, 50.39, -64.93)
CIE-LCHlch(56.83, 82.19, 307.81°)
OKLaboklab(64.91% 0.0922 -0.1844)
OKLCHoklch(64.91% 0.206 296.6)
XYZxyz(36.7664, 24.7489, 94.0880)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BFB #C8FB6B
analogous
#6B80FB #9E6BFB #E66BFB
triadic
#9E6BFB #FB9E6B #6BFB9E
tetradic
#9E6BFB #FB6B80 #C8FB6B #6BFBE6
square
#9E6BFB #FB6B80 #C8FB6B #6BFBE6
split-complementary
#9E6BFB #FBE66B #80FB6B
monochromatic
#5506E5 #772FF9 #9E6BFB #C5A7FD #EBE1FE

Accessibility & contrast

On white

3.53
#9E6BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9E6BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BFB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BFB#FFFFFF#000000##000000
##9E6BFB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#3287F8
Tritanopia (blue-blind)
#888AA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6bfb;
/* rgb */ color: rgb(158, 107, 251);
/* oklch */ color: oklch(64.9% 0.206 296.6);
Tailwind
colors: {
  custom: {
    50: '#c097fd',
    500: '#9e6bfb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bfb;
$custom-light: #c097fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bfb",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 261.25,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.20618,
    "h": 296.6
  },
  "luminance": 0.2475
}

Semantic roles & 50–950 ramp

primary
#9E6BFB
secondary
#E7F5CD
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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