#9E6BFC#9E6BFC

#9E6BFC is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.0% C 0.207 H 296.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9E6BFC
RGBrgb(158, 107, 252)
HSLhsl(261, 96%, 70%)
HSVhsv(261, 58%, 99%)
CMYKcmyk(37.3%, 57.5%, 0%, 1.2%)
CIE-LABlab(56.89, 50.64, -65.38)
CIE-LCHlch(56.89, 82.70, 307.76°)
OKLaboklab(64.98% 0.0922 -0.1858)
OKLCHoklch(64.98% 0.207 296.4)
XYZxyz(36.9244, 24.8121, 94.9204)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BFC #C9FC6B
analogous
#6B81FC #9E6BFC #E66BFC
triadic
#9E6BFC #FC9E6B #6BFC9E
tetradic
#9E6BFC #FC6B81 #C9FC6B #6BFCE6
square
#9E6BFC #FC6B81 #C9FC6B #6BFCE6
split-complementary
#9E6BFC #FCE66B #81FC6B
monochromatic
#5505E8 #772FFB #9E6BFC #C5A7FD #EBE1FE

Accessibility & contrast

On white

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

On black

5.96
#9E6BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BFC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BFC#FFFFFF#000000##000000
##9E6BFC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1589FF
Deuteranopia (green-blind)
#3187F9
Tritanopia (blue-blind)
#878AA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6bfc;
/* rgb */ color: rgb(158, 107, 252);
/* oklch */ color: oklch(65.0% 0.207 296.4);
Tailwind
colors: {
  custom: {
    50: '#c097fe',
    500: '#9e6bfc',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bfc;
$custom-light: #c097fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bfc",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 261.103,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6498,
    "c": 0.20736,
    "h": 296.4
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#9E6BFC
secondary
#E7F5CE
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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