#9A5EEE#9A5EEE

#9A5EEE is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.208 H 299.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9A5EEE
RGBrgb(154, 94, 238)
HSLhsl(265, 81%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(35.3%, 60.5%, 0%, 6.7%)
CIE-LABlab(53.00, 53.14, -63.88)
CIE-LCHlch(53.00, 83.09, 309.75°)
OKLaboklab(61.76% 0.1024 -0.1815)
OKLCHoklch(61.76% 0.208 299.4)
XYZxyz(32.7580, 21.0482, 83.2092)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5EEE #B2EE5E
analogous
#5E6AEE #9A5EEE #E25EEE
triadic
#9A5EEE #EE9A5E #5EEE9A
tetradic
#9A5EEE #EE5E6A #B2EE5E #5EEEE2
square
#9A5EEE #EE5E6A #B2EE5E #5EEEE2
split-complementary
#9A5EEE #EEE25E #6AEE5E
monochromatic
#5B14BE #7727E8 #9A5EEE #BD95F4 #DFCDFA

Accessibility & contrast

On white

4.03
#9A5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9A5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5EEE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5EEE#FFFFFF#000000##000000
##9A5EEE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#277DEB
Tritanopia (blue-blind)
#887D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a5eee;
/* rgb */ color: rgb(154, 94, 238);
/* oklch */ color: oklch(61.8% 0.208 299.4);
Tailwind
colors: {
  custom: {
    50: '#bd8ef4',
    500: '#9a5eee',
    950: '#000000',
  },
}
SCSS
$custom: #9a5eee;
$custom-light: #bd8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5eee",
  "rgb": {
    "r": 154,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 265,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.20835,
    "h": 299.4
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#9A5EEE
secondary
#D8ECBB
accent
#DD0884
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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