#9B49CF#9B49CF

#9B49CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.203 H 309.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B49CF
RGBrgb(155, 73, 207)
HSLhsl(277, 58%, 55%)
HSVhsv(277, 65%, 81%)
CMYKcmyk(25.1%, 64.7%, 0%, 18.8%)
CIE-LABlab(47.29, 56.55, -55.51)
CIE-LCHlch(47.29, 79.24, 315.53°)
OKLaboklab(57.02% 0.1295 -0.1568)
OKLCHoklch(57.02% 0.203 309.6)
XYZxyz(27.1604, 16.2392, 60.7231)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49CF #7DCF49
analogous
#5849CF #9B49CF #CF49C0
triadic
#9B49CF #CF9B49 #49CF9B
tetradic
#9B49CF #CF5849 #7DCF49 #49C0CF
square
#9B49CF #CF5849 #7DCF49 #49C0CF
split-complementary
#9B49CF #C0CF49 #49CF58
monochromatic
#59217D #7C2EAD #9B49CF #B679DC #D0AAE9

Accessibility & contrast

On white

4.94
#9B49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9B49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49CF#FFFFFF#000000##FFFFFF
##9B49CF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#946486
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b49cf;
/* rgb */ color: rgb(155, 73, 207);
/* oklch */ color: oklch(57.0% 0.203 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc81de',
    500: '#9b49cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b49cf;
$custom-light: #bc81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49cf",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 276.716,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.20332,
    "h": 309.6
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#9B49CF
secondary
#B4D69E
accent
#E14683
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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