#9A6BF1#9A6BF1

#9A6BF1 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.194 H 296.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A6BF1
RGBrgb(154, 107, 241)
HSLhsl(261, 83%, 68%)
HSVhsv(261, 56%, 95%)
CMYKcmyk(36.1%, 55.6%, 0%, 5.5%)
CIE-LABlab(55.82, 46.94, -61.02)
CIE-LCHlch(55.82, 76.99, 307.57°)
OKLaboklab(63.89% 0.0871 -0.1731)
OKLCHoklch(63.89% 0.194 296.7)
XYZxyz(34.4573, 23.7357, 85.9681)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6BF1 #C2F16B
analogous
#6B7FF1 #9A6BF1 #DD6BF1
triadic
#9A6BF1 #F19A6B #6BF19A
tetradic
#9A6BF1 #F16B7F #C2F16B #6BF1DD
square
#9A6BF1 #F16B7F #C2F16B #6BF1DD
split-complementary
#9A6BF1 #F1DD6B #7FF16B
monochromatic
#5513CE #7433EC #9A6BF1 #C0A3F6 #E6DBFC

Accessibility & contrast

On white

3.65
#9A6BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9A6BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6BF1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6BF1#FFFFFF#000000##000000
##9A6BF11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B86F5
Deuteranopia (green-blind)
#3C84EE
Tritanopia (blue-blind)
#8687A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a6bf1;
/* rgb */ color: rgb(154, 107, 241);
/* oklch */ color: oklch(63.9% 0.194 296.7);
Tailwind
colors: {
  custom: {
    50: '#bc97f6',
    500: '#9a6bf1',
    950: '#000000',
  },
}
SCSS
$custom: #9a6bf1;
$custom-light: #bc97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6bf1",
  "rgb": {
    "r": 154,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 261.045,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63886,
    "c": 0.19376,
    "h": 296.7
  },
  "luminance": 0.23736
}

Semantic roles & 50–950 ramp

primary
#9A6BF1
secondary
#E2F0C8
accent
#DF0693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A6BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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