#9A5EE8#9A5EE8

#9A5EE8 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.201 H 300.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9A5EE8
RGBrgb(154, 94, 232)
HSLhsl(266, 75%, 64%)
HSVhsv(266, 59%, 91%)
CMYKcmyk(33.6%, 59.5%, 0%, 9%)
CIE-LABlab(52.62, 51.66, -61.13)
CIE-LCHlch(52.62, 80.04, 310.20°)
OKLaboklab(61.36% 0.1026 -0.1734)
OKLCHoklch(61.36% 0.201 300.6)
XYZxyz(31.8911, 20.7014, 78.6439)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5EE8 #ACE85E
analogous
#5E67E8 #9A5EE8 #DF5EE8
triadic
#9A5EE8 #E89A5E #5EE89A
tetradic
#9A5EE8 #E85E67 #ACE85E #5EE8DF
square
#9A5EE8 #E85E67 #ACE85E #5EE8DF
split-complementary
#9A5EE8 #E8DF5E #67E85E
monochromatic
#5C19B2 #7828E0 #9A5EE8 #BC94F0 #DDC9F7

Accessibility & contrast

On white

4.09
#9A5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9A5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5EE8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5EE8#FFFFFF#000000##000000
##9A5EE81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#067DEC
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#8A7B9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a5ee8;
/* rgb */ color: rgb(154, 94, 232);
/* oklch */ color: oklch(61.4% 0.201 300.6);
Tailwind
colors: {
  custom: {
    50: '#bc8ef0',
    500: '#9a5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ee8;
$custom-light: #bc8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ee8",
  "rgb": {
    "r": 154,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 266.087,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.20147,
    "h": 300.6
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#9A5EE8
secondary
#D4E9B9
accent
#D70E80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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