#9A6EF7#9A6EF7

#9A6EF7 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.197 H 295.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9A6EF7
RGBrgb(154, 110, 247)
HSLhsl(259, 90%, 70%)
HSVhsv(259, 55%, 97%)
CMYKcmyk(37.7%, 55.5%, 0%, 3.1%)
CIE-LABlab(56.82, 46.84, -62.75)
CIE-LCHlch(56.82, 78.31, 306.74°)
OKLaboklab(64.74% 0.0836 -0.1782)
OKLCHoklch(64.74% 0.197 295.1)
XYZxyz(35.6865, 24.7366, 90.8721)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6EF7 #CBF76E
analogous
#6E87F7 #9A6EF7 #DE6EF7
triadic
#9A6EF7 #F79A6E #6EF79A
tetradic
#9A6EF7 #F76E87 #CBF76E #6EF7DE
square
#9A6EF7 #F76E87 #CBF76E #6EF7DE
split-complementary
#9A6EF7 #F7DE6E #87F76E
monochromatic
#500CDE #7234F4 #9A6EF7 #C2A8FA #EBE2FD

Accessibility & contrast

On white

3.53
#9A6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9A6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6EF7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6EF7#FFFFFF#000000##000000
##9A6EF71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FC
Deuteranopia (green-blind)
#3986F4
Tritanopia (blue-blind)
#838BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a6ef7;
/* rgb */ color: rgb(154, 110, 247);
/* oklch */ color: oklch(64.7% 0.197 295.1);
Tailwind
colors: {
  custom: {
    50: '#bd99fb',
    500: '#9a6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ef7;
$custom-light: #bd99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ef7",
  "rgb": {
    "r": 154,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 259.27,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.19682,
    "h": 295.1
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#9A6EF7
secondary
#E7F4CD
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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