#9B49EC#9B49EC

#9B49EC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.233 H 302.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B49EC
RGBrgb(155, 73, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 69%, 93%)
CMYKcmyk(34.3%, 69.1%, 0%, 7.5%)
CIE-LABlab(49.24, 63.10, -68.84)
CIE-LCHlch(49.24, 93.39, 312.51°)
OKLaboklab(59.04% 0.1263 -0.1959)
OKLCHoklch(59.04% 0.233 302.8)
XYZxyz(31.0369, 17.7898, 81.1393)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49EC #9AEC49
analogous
#4949EC #9B49EC #EC49EC
triadic
#9B49EC #EC9B49 #49EC9B
tetradic
#9B49EC #EC4949 #9AEC49 #49ECEC
square
#9B49EC #EC4949 #9AEC49 #49ECEC
split-complementary
#9B49EC #ECEC49 #49EC49
monochromatic
#5E12A9 #7D17E0 #9B49EC #B980F2 #D8B8F8

Accessibility & contrast

On white

4.61
#9B49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B49EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49EC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49EC#FFFFFF#000000##FFFFFF
##9B49EC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#8B6F95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b49ec;
/* rgb */ color: rgb(155, 73, 236);
/* oklch */ color: oklch(59.0% 0.233 302.8);
Tailwind
colors: {
  custom: {
    50: '#be82f3',
    500: '#9b49ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b49ec;
$custom-light: #be82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49ec",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 270.184,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.23313,
    "h": 302.8
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#9B49EC
secondary
#C8E7A9
accent
#DD0872
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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