#9A6CFB#9A6CFB

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

Color values

HEX#9A6CFB
RGBrgb(154, 108, 251)
HSLhsl(259, 95%, 70%)
HSVhsv(259, 57%, 98%)
CMYKcmyk(38.6%, 57%, 0%, 1.6%)
CIE-LABlab(56.64, 48.97, -65.25)
CIE-LCHlch(56.64, 81.58, 306.89°)
OKLaboklab(64.69% 0.086 -0.1855)
OKLCHoklch(64.69% 0.204 294.9)
XYZxyz(36.0970, 24.5594, 94.0867)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6CFB #CDFB6C
analogous
#6C85FB #9A6CFB #E26CFB
triadic
#9A6CFB #FB9A6C #6CFB9A
tetradic
#9A6CFB #FB6C85 #CDFB6C #6CFBE2
square
#9A6CFB #FB6C85 #CDFB6C #6CFBE2
split-complementary
#9A6CFB #FBE26C #85FB6C
monochromatic
#4E06E6 #7130F9 #9A6CFB #C3A8FD #EBE1FE

Accessibility & contrast

On white

3.55
#9A6CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9A6CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6CFB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6CFB#FFFFFF#000000##000000
##9A6CFB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1889FF
Deuteranopia (green-blind)
#2E86F8
Tritanopia (blue-blind)
#828BA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a6cfb;
/* rgb */ color: rgb(154, 108, 251);
/* oklch */ color: oklch(64.7% 0.204 294.9);
Tailwind
colors: {
  custom: {
    50: '#bd98fd',
    500: '#9a6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #9a6cfb;
$custom-light: #bd98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6cfb",
  "rgb": {
    "r": 154,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 259.301,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64686,
    "c": 0.20445,
    "h": 294.9
  },
  "luminance": 0.2456
}

Semantic roles & 50–950 ramp

primary
#9A6CFB
secondary
#E8F5CE
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9A6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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