#9B4CC7#9B4CC7

#9B4CC7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.191 H 311.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B4CC7
RGBrgb(155, 76, 199)
HSLhsl(279, 52%, 54%)
HSVhsv(279, 62%, 78%)
CMYKcmyk(22.1%, 61.8%, 0%, 22%)
CIE-LABlab(47.32, 53.35, -50.86)
CIE-LCHlch(47.32, 73.71, 316.37°)
OKLaboklab(56.88% 0.1263 -0.1431)
OKLCHoklch(56.88% 0.191 311.4)
XYZxyz(26.4089, 16.2616, 55.7694)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CC7 #78C74C
analogous
#5E4CC7 #9B4CC7 #C74CB5
triadic
#9B4CC7 #C79B4C #4CC79B
tetradic
#9B4CC7 #C75E4C #78C74C #4CB5C7
square
#9B4CC7 #C75E4C #78C74C #4CB5C7
split-complementary
#9B4CC7 #B5C74C #4CC75E
monochromatic
#582474 #7B33A3 #9B4CC7 #B57BD6 #CFA9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4CC7#FFFFFF#000000##FFFFFF
##9B4CC71.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)
#186CCB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#966382
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b4cc7;
/* rgb */ color: rgb(155, 76, 199);
/* oklch */ color: oklch(56.9% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#bc82d9',
    500: '#9b4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cc7;
$custom-light: #bc82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cc7",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 278.537,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.19087,
    "h": 311.4
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#9B4CC7
secondary
#B0D29D
accent
#DC4C7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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