#9E6BF9#9E6BF9

#9E6BF9 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.8% C 0.204 H 296.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9E6BF9
RGBrgb(158, 107, 249)
HSLhsl(262, 92%, 70%)
HSVhsv(262, 57%, 98%)
CMYKcmyk(36.5%, 57%, 0%, 2.4%)
CIE-LABlab(56.71, 49.88, -64.02)
CIE-LCHlch(56.71, 81.16, 307.93°)
OKLaboklab(64.79% 0.0922 -0.1818)
OKLCHoklch(64.79% 0.204 296.9)
XYZxyz(36.4528, 24.6235, 92.4364)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BF9 #C6F96B
analogous
#6B7FF9 #9E6BF9 #E56BF9
triadic
#9E6BF9 #F99E6B #6BF99E
tetradic
#9E6BF9 #F96B7F #C6F96B #6BF9E5
square
#9E6BF9 #F96B7F #C6F96B #6BF9E5
split-complementary
#9E6BF9 #F9E56B #7FF96B
monochromatic
#5609E0 #7730F7 #9E6BF9 #C5A6FB #EBE1FE

Accessibility & contrast

On white

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

On black

5.92
#9E6BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BF9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BF9#FFFFFF#000000##000000
##9E6BF91.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FE
Deuteranopia (green-blind)
#3586F6
Tritanopia (blue-blind)
#8989A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6bf9;
/* rgb */ color: rgb(158, 107, 249);
/* oklch */ color: oklch(64.8% 0.204 296.9);
Tailwind
colors: {
  custom: {
    50: '#bf97fc',
    500: '#9e6bf9',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bf9;
$custom-light: #bf97fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bf9",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 261.549,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.2038,
    "h": 296.9
  },
  "luminance": 0.24624
}

Semantic roles & 50–950 ramp

primary
#9E6BF9
secondary
#E6F4CC
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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