#9A6FFB#9A6FFB

#9A6FFB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.1% C 0.200 H 294.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9A6FFB
RGBrgb(154, 111, 251)
HSLhsl(258, 95%, 71%)
HSVhsv(258, 56%, 98%)
CMYKcmyk(38.6%, 55.8%, 0%, 1.6%)
CIE-LABlab(57.27, 47.33, -64.24)
CIE-LCHlch(57.27, 79.79, 306.38°)
OKLaboklab(65.15% 0.0825 -0.1825)
OKLCHoklch(65.15% 0.2 294.3)
XYZxyz(36.4189, 25.2031, 94.1940)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6FFB #D0FB6F
analogous
#6F8AFB #9A6FFB #E06FFB
triadic
#9A6FFB #FB9A6F #6FFB9A
tetradic
#9A6FFB #FB6F8A #D0FB6F #6FFBE0
square
#9A6FFB #FB6F8A #D0FB6F #6FFBE0
split-complementary
#9A6FFB #FBE06F #8AFB6F
monochromatic
#4C06E9 #7033F9 #9A6FFB #C4ABFD #EAE1FE

Accessibility & contrast

On white

3.48
#9A6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9A6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6FFB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6FFB#FFFFFF#000000##000000
##9A6FFB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#3587F8
Tritanopia (blue-blind)
#818DAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a6ffb;
/* rgb */ color: rgb(154, 111, 251);
/* oklch */ color: oklch(65.1% 0.200 294.3);
Tailwind
colors: {
  custom: {
    50: '#bd9afd',
    500: '#9a6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ffb;
$custom-light: #bd9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ffb",
  "rgb": {
    "r": 154,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 258.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.20029,
    "h": 294.3
  },
  "luminance": 0.25204
}

Semantic roles & 50–950 ramp

primary
#9A6FFB
secondary
#EAF6D0
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9A6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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