#9B49E7#9B49E7

#9B49E7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.228 H 303.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B49E7
RGBrgb(155, 73, 231)
HSLhsl(271, 77%, 60%)
HSVhsv(271, 68%, 91%)
CMYKcmyk(32.9%, 68.4%, 0%, 9.4%)
CIE-LABlab(48.89, 61.95, -66.59)
CIE-LCHlch(48.89, 90.95, 312.93°)
OKLaboklab(58.67% 0.1271 -0.1893)
OKLCHoklch(58.67% 0.228 303.9)
XYZxyz(30.3206, 17.5032, 77.3669)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49E7 #95E749
analogous
#4C49E7 #9B49E7 #E749E4
triadic
#9B49E7 #E79B49 #49E79B
tetradic
#9B49E7 #E74C49 #95E749 #49E4E7
square
#9B49E7 #E74C49 #95E749 #49E4E7
split-complementary
#9B49E7 #E4E749 #49E74C
monochromatic
#5D15A0 #7D1CD7 #9B49E7 #B97FEE #D6B5F5

Accessibility & contrast

On white

4.67
#9B49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9B49E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49E7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49E7#FFFFFF#000000##FFFFFF
##9B49E71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#8C6D93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b49e7;
/* rgb */ color: rgb(155, 73, 231);
/* oklch */ color: oklch(58.7% 0.228 303.9);
Tailwind
colors: {
  custom: {
    50: '#be82f0',
    500: '#9b49e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b49e7;
$custom-light: #be82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49e7",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 271.139,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.22801,
    "h": 303.9
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#9B49E7
secondary
#C5E5A7
accent
#F33590
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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