#9B49EA#9B49EA

#9B49EA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.231 H 303.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B49EA
RGBrgb(155, 73, 234)
HSLhsl(271, 79%, 60%)
HSVhsv(271, 69%, 92%)
CMYKcmyk(33.8%, 68.8%, 0%, 8.2%)
CIE-LABlab(49.10, 62.64, -67.94)
CIE-LCHlch(49.10, 92.41, 312.67°)
OKLaboklab(58.89% 0.1266 -0.1933)
OKLCHoklch(58.89% 0.231 303.2)
XYZxyz(30.7479, 17.6742, 79.6175)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49EA #98EA49
analogous
#4A49EA #9B49EA #EA49E8
triadic
#9B49EA #EA9B49 #49EA9B
tetradic
#9B49EA #EA4A49 #98EA49 #49E8EA
square
#9B49EA #EA4A49 #98EA49 #49E8EA
split-complementary
#9B49EA #E8EA49 #49EA4A
monochromatic
#5E13A6 #7D19DC #9B49EA #B980F0 #D7B7F7

Accessibility & contrast

On white

4.63
#9B49EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9B49EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49EA#FFFFFF#000000##FFFFFF
##9B49EA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#8B6F94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b49ea;
/* rgb */ color: rgb(155, 73, 234);
/* oklch */ color: oklch(58.9% 0.231 303.2);
Tailwind
colors: {
  custom: {
    50: '#be82f2',
    500: '#9b49ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b49ea;
$custom-light: #be82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49ea",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 270.559,
    "s": 79.31,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.23108,
    "h": 303.2
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

primary
#9B49EA
secondary
#C7E6A9
accent
#DC0A71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B49EA

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

Preview Lab → · Contrast checker → · Palette generator →

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