#9A5EBD#9A5EBD

#9A5EBD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.152 H 311.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9A5EBD
RGBrgb(154, 94, 189)
HSLhsl(278, 42%, 55%)
HSVhsv(278, 50%, 74%)
CMYKcmyk(18.5%, 50.3%, 0%, 25.9%)
CIE-LABlab(50.16, 41.54, -40.56)
CIE-LCHlch(50.16, 58.06, 315.68°)
OKLaboklab(58.76% 0.101 -0.1132)
OKLCHoklch(58.76% 0.152 311.7)
XYZxyz(26.5128, 18.5501, 50.3181)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5EBD #81BD5E
analogous
#6A5EBD #9A5EBD #BD5EB0
triadic
#9A5EBD #BD9A5E #5EBD9A
tetradic
#9A5EBD #BD6A5E #81BD5E #5EB0BD
square
#9A5EBD #BD6A5E #81BD5E #5EB0BD
split-complementary
#9A5EBD #B0BD5E #5EBD6A
monochromatic
#592F72 #7B409D #9A5EBD #B589CF #D0B5E1

Accessibility & contrast

On white

4.46
#9A5EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9A5EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5EBD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5EBD#FFFFFF#000000##000000
##9A5EBD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774C0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#966D85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a5ebd;
/* rgb */ color: rgb(154, 94, 189);
/* oklch */ color: oklch(58.8% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#ba8dd1',
    500: '#9a5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9a5ebd;
$custom-light: #ba8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5ebd",
  "rgb": {
    "r": 154,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 277.895,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.15167,
    "h": 311.7
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#9A5EBD
secondary
#B6CFA8
accent
#D25684
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9A5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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