#9A5BE5#9A5BE5

#9A5BE5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.202 H 301.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9A5BE5
RGBrgb(154, 91, 229)
HSLhsl(267, 73%, 63%)
HSVhsv(267, 60%, 90%)
CMYKcmyk(32.8%, 60.3%, 0%, 10.2%)
CIE-LABlab(51.85, 52.49, -60.69)
CIE-LCHlch(51.85, 80.24, 310.86°)
OKLaboklab(60.74% 0.1062 -0.1721)
OKLCHoklch(60.74% 0.202 301.7)
XYZxyz(31.2070, 20.0092, 76.3316)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5BE5 #A6E55B
analogous
#5B61E5 #9A5BE5 #DF5BE5
triadic
#9A5BE5 #E59A5B #5BE59A
tetradic
#9A5BE5 #E55B61 #A6E55B #5BE5DF
square
#9A5BE5 #E55B61 #A6E55B #5BE5DF
split-complementary
#9A5BE5 #E5DF5B #61E55B
monochromatic
#5D1BAB #7926DD #9A5BE5 #BB90ED #DBC5F6

Accessibility & contrast

On white

4.20
#9A5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9A5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5BE5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5BE5#FFFFFF#000000##000000
##9A5BE51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#8B7898
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a5be5;
/* rgb */ color: rgb(154, 91, 229);
/* oklch */ color: oklch(60.7% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#bc8cee',
    500: '#9a5be5',
    950: '#000000',
  },
}
SCSS
$custom: #9a5be5;
$custom-light: #bc8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5be5",
  "rgb": {
    "r": 154,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 267.391,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.20222,
    "h": 301.7
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#9A5BE5
secondary
#D0E7B5
accent
#D5117B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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