#9B4BCD#9B4BCD

#9B4BCD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.199 H 309.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B4BCD
RGBrgb(155, 75, 205)
HSLhsl(277, 57%, 55%)
HSVhsv(277, 63%, 80%)
CMYKcmyk(24.4%, 63.4%, 0%, 19.6%)
CIE-LABlab(47.51, 55.16, -54.01)
CIE-LCHlch(47.51, 77.19, 315.60°)
OKLaboklab(57.14% 0.1273 -0.1524)
OKLCHoklch(57.14% 0.199 309.9)
XYZxyz(27.0510, 16.4090, 59.4880)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BCD #7DCD4B
analogous
#5A4BCD #9B4BCD #CD4BBE
triadic
#9B4BCD #CD9B4B #4BCD9B
tetradic
#9B4BCD #CD5A4B #7DCD4B #4BBECD
square
#9B4BCD #CD5A4B #7DCD4B #4BBECD
split-complementary
#9B4BCD #BECD4B #4BCD5A
monochromatic
#59227B #7C30AB #9B4BCD #B67BDA #D0ABE8

Accessibility & contrast

On white

4.90
#9B4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9B4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BCD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BCD#FFFFFF#000000##FFFFFF
##9B4BCD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#946585
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b4bcd;
/* rgb */ color: rgb(155, 75, 205);
/* oklch */ color: oklch(57.1% 0.199 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc82dd',
    500: '#9b4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bcd;
$custom-light: #bc82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bcd",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 276.923,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.19853,
    "h": 309.9
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#9B4BCD
secondary
#B4D59F
accent
#E04882
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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