#9B49E1#9B49E1

#9B49E1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.222 H 305.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B49E1
RGBrgb(155, 73, 225)
HSLhsl(272, 72%, 58%)
HSVhsv(272, 68%, 88%)
CMYKcmyk(31.1%, 67.6%, 0%, 11.8%)
CIE-LABlab(48.47, 60.58, -63.87)
CIE-LCHlch(48.47, 88.03, 313.49°)
OKLaboklab(58.25% 0.1278 -0.1813)
OKLCHoklch(58.25% 0.222 305.2)
XYZxyz(29.4877, 17.1701, 72.9803)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49E1 #8FE149
analogous
#4F49E1 #9B49E1 #E149DB
triadic
#9B49E1 #E19B49 #49E19B
tetradic
#9B49E1 #E14F49 #8FE149 #49DBE1
square
#9B49E1 #E14F49 #8FE149 #49DBE1
split-complementary
#9B49E1 #DBE149 #49E14F
monochromatic
#5D1997 #7D22CB #9B49E1 #B87EEA #D5B2F2

Accessibility & contrast

On white

4.74
#9B49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9B49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49E1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49E1#FFFFFF#000000##FFFFFF
##9B49E11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#8E6B8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b49e1;
/* rgb */ color: rgb(155, 73, 225);
/* oklch */ color: oklch(58.2% 0.222 305.2);
Tailwind
colors: {
  custom: {
    50: '#be81eb',
    500: '#9b49e1',
    950: '#000000',
  },
}
SCSS
$custom: #9b49e1;
$custom-light: #be81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49e1",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 272.368,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.22184,
    "h": 305.2
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#9B49E1
secondary
#C1E1A5
accent
#EE398D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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