#9B4CD9#9B4CD9

#9B4CD9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.210 H 306.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B4CD9
RGBrgb(155, 76, 217)
HSLhsl(274, 65%, 57%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(28.6%, 65%, 0%, 14.9%)
CIE-LABlab(48.45, 57.36, -59.37)
CIE-LCHlch(48.45, 82.55, 314.02°)
OKLaboklab(58.06% 0.1254 -0.1681)
OKLCHoklch(58.06% 0.21 306.7)
XYZxyz(28.6237, 17.1475, 67.4341)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CD9 #8AD94C
analogous
#544CD9 #9B4CD9 #D94CD1
triadic
#9B4CD9 #D99B4C #4CD99B
tetradic
#9B4CD9 #D9544C #8AD94C #4CD1D9
square
#9B4CD9 #D9544C #8AD94C #4CD1D9
split-complementary
#9B4CD9 #D1D94C #4CD954
monochromatic
#5C1E8D #7D29BF #9B4CD9 #B77EE4 #D3B1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4CD9#FFFFFF#000000##FFFFFF
##9B4CD91.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)
#0070DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#916A8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4cd9;
/* rgb */ color: rgb(155, 76, 217);
/* oklch */ color: oklch(58.1% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd83e5',
    500: '#9b4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cd9;
$custom-light: #bd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cd9",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 273.617,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.20971,
    "h": 306.7
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#9B4CD9
secondary
#BDDDA4
accent
#E8408A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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