#9A5ADD#9A5ADD

#9A5ADD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.195 H 303.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9A5ADD
RGBrgb(154, 90, 221)
HSLhsl(269, 66%, 61%)
HSVhsv(269, 59%, 87%)
CMYKcmyk(30.3%, 59.3%, 0%, 13.3%)
CIE-LABlab(51.16, 51.09, -57.28)
CIE-LCHlch(51.16, 76.76, 311.73°)
OKLaboklab(60.08% 0.1076 -0.1621)
OKLCHoklch(60.08% 0.195 303.6)
XYZxyz(30.0308, 19.4029, 70.5556)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5ADD #9DDD5A
analogous
#5A5BDD #9A5ADD #DB5ADD
triadic
#9A5ADD #DD9A5A #5ADD9A
tetradic
#9A5ADD #DD5A5B #9DDD5A #5ADDDB
square
#9A5ADD #DD5A5B #9DDD5A #5ADDDB
split-complementary
#9A5ADD #DDDB5A #5BDD5A
monochromatic
#5D209C #7B2BCF #9A5ADD #B98DE7 #D8BFF2

Accessibility & contrast

On white

4.30
#9A5ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9A5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5ADD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5ADD#FFFFFF#000000##000000
##9A5ADD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#8E7593
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9a5add;
/* rgb */ color: rgb(154, 90, 221);
/* oklch */ color: oklch(60.1% 0.195 303.6);
Tailwind
colors: {
  custom: {
    50: '#bc8be8',
    500: '#9a5add',
    950: '#000000',
  },
}
SCSS
$custom: #9a5add;
$custom-light: #bc8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5add",
  "rgb": {
    "r": 154,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 269.313,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.19455,
    "h": 303.6
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#9A5ADD
secondary
#CAE2B1
accent
#CE1875
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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