#9E6FFB#9E6FFB

#9E6FFB is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.5% C 0.201 H 295.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E6FFB
RGBrgb(158, 111, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.1%, 55.8%, 0%, 1.6%)
CIE-LABlab(57.66, 48.23, -63.60)
CIE-LCHlch(57.66, 79.81, 307.17°)
OKLaboklab(65.52% 0.0875 -0.1805)
OKLCHoklch(65.52% 0.201 295.9)
XYZxyz(37.1931, 25.6023, 94.2303)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6FFB #CCFB6F
analogous
#6F86FB #9E6FFB #E46FFB
triadic
#9E6FFB #FB9E6F #6FFB9E
tetradic
#9E6FFB #FB6F86 #CCFB6F #6FFBE4
square
#9E6FFB #FB6F86 #CCFB6F #6FFBE4
split-complementary
#9E6FFB #FBE46F #86FB6F
monochromatic
#5306E9 #7633F9 #9E6FFB #C6ABFD #EBE1FE

Accessibility & contrast

On white

3.43
#9E6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9E6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6FFB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6FFB#FFFFFF#000000##000000
##9E6FFB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#888CAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e6ffb;
/* rgb */ color: rgb(158, 111, 251);
/* oklch */ color: oklch(65.5% 0.201 295.9);
Tailwind
colors: {
  custom: {
    50: '#bf9afd',
    500: '#9e6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6ffb;
$custom-light: #bf9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6ffb",
  "rgb": {
    "r": 158,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 260.143,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.20061,
    "h": 295.9
  },
  "luminance": 0.25603
}

Semantic roles & 50–950 ramp

primary
#9E6FFB
secondary
#E9F6D0
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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