#9B4FD5#9B4FD5

#9B4FD5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.201 H 307.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B4FD5
RGBrgb(155, 79, 213)
HSLhsl(274, 61%, 57%)
HSVhsv(274, 63%, 84%)
CMYKcmyk(27.2%, 62.9%, 0%, 16.5%)
CIE-LABlab(48.72, 55.01, -56.65)
CIE-LCHlch(48.72, 78.96, 314.16°)
OKLaboklab(58.17% 0.1222 -0.1601)
OKLCHoklch(58.17% 0.201 307.4)
XYZxyz(28.3213, 17.3650, 64.7977)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FD5 #89D54F
analogous
#584FD5 #9B4FD5 #D54FCC
triadic
#9B4FD5 #D59B4F #4FD59B
tetradic
#9B4FD5 #D5584F #89D54F #4FCCD5
square
#9B4FD5 #D5584F #89D54F #4FCCD5
split-complementary
#9B4FD5 #CCD54F #4FD558
monochromatic
#5C2189 #7D2CBA #9B4FD5 #B780E1 #D3B2ED

Accessibility & contrast

On white

4.69
#9B4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9B4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FD5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FD5#FFFFFF#000000##FFFFFF
##9B4FD51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#926A8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b4fd5;
/* rgb */ color: rgb(155, 79, 213);
/* oklch */ color: oklch(58.2% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#bc85e3',
    500: '#9b4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fd5;
$custom-light: #bc85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fd5",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 274.03,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.20145,
    "h": 307.4
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#9B4FD5
secondary
#BCDBA5
accent
#E54389
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9B4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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