#9B4FCD#9B4FCD

#9B4FCD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.193 H 309.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B4FCD
RGBrgb(155, 79, 205)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.4%, 61.5%, 0%, 19.6%)
CIE-LABlab(48.22, 53.21, -52.86)
CIE-LCHlch(48.22, 75.00, 315.19°)
OKLaboklab(57.65% 0.1225 -0.149)
OKLCHoklch(57.65% 0.193 309.4)
XYZxyz(27.3308, 16.9688, 59.5813)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FCD #81CD4F
analogous
#5C4FCD #9B4FCD #CD4FC0
triadic
#9B4FCD #CD9B4F #4FCD9B
tetradic
#9B4FCD #CD5C4F #81CD4F #4FC0CD
square
#9B4FCD #CD5C4F #81CD4F #4FC0CD
split-complementary
#9B4FCD #C0CD4F #4FCD5C
monochromatic
#5A247E #7C31AE #9B4FCD #B67FDB #D1AEE8

Accessibility & contrast

On white

4.78
#9B4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9B4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FCD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FCD#FFFFFF#000000##FFFFFF
##9B4FCD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#946887
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4fcd;
/* rgb */ color: rgb(155, 79, 205);
/* oklch */ color: oklch(57.7% 0.193 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc84dd',
    500: '#9b4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fcd;
$custom-light: #bc84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fcd",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 276.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.19293,
    "h": 309.4
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#9B4FCD
secondary
#B6D6A2
accent
#DF4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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