#9A6EF5#9A6EF5

#9A6EF5 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.194 H 295.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9A6EF5
RGBrgb(154, 110, 245)
HSLhsl(260, 87%, 70%)
HSVhsv(260, 55%, 96%)
CMYKcmyk(37.1%, 55.1%, 0%, 3.9%)
CIE-LABlab(56.70, 46.32, -61.84)
CIE-LCHlch(56.70, 77.26, 306.84°)
OKLaboklab(64.61% 0.0836 -0.1755)
OKLCHoklch(64.61% 0.194 295.5)
XYZxyz(35.3795, 24.6138, 89.2554)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6EF5 #C9F56E
analogous
#6E85F5 #9A6EF5 #DE6EF5
triadic
#9A6EF5 #F59A6E #6EF59A
tetradic
#9A6EF5 #F56E85 #C9F56E #6EF5DE
square
#9A6EF5 #F56E85 #C9F56E #6EF5DE
split-complementary
#9A6EF5 #F5DE6E #85F56E
monochromatic
#510FDA #7235F1 #9A6EF5 #C2A7F9 #EAE1FD

Accessibility & contrast

On white

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

On black

5.92
#9A6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6EF5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6EF5#FFFFFF#000000##000000
##9A6EF51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#848AA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a6ef5;
/* rgb */ color: rgb(154, 110, 245);
/* oklch */ color: oklch(64.6% 0.194 295.5);
Tailwind
colors: {
  custom: {
    50: '#bc99f9',
    500: '#9a6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #9a6ef5;
$custom-light: #bc99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6ef5",
  "rgb": {
    "r": 154,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 259.556,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.19437,
    "h": 295.5
  },
  "luminance": 0.24614
}

Semantic roles & 50–950 ramp

primary
#9A6EF5
secondary
#E6F3CC
accent
#E4029A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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