#9B4BCA#9B4BCA

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

Color values

HEX#9B4BCA
RGBrgb(155, 75, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 63%, 79%)
CMYKcmyk(23.3%, 62.9%, 0%, 20.8%)
CIE-LABlab(47.32, 54.49, -52.58)
CIE-LCHlch(47.32, 75.72, 316.03°)
OKLaboklab(56.94% 0.1274 -0.1482)
OKLCHoklch(56.94% 0.195 310.7)
XYZxyz(26.6923, 16.2656, 57.5991)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BCA #7ACA4B
analogous
#5C4BCA #9B4BCA #CA4BBA
triadic
#9B4BCA #CA9B4B #4BCA9B
tetradic
#9B4BCA #CA5C4B #7ACA4B #4BBACA
square
#9B4BCA #CA5C4B #7ACA4B #4BBACA
split-complementary
#9B4BCA #BACA4B #4BCA5C
monochromatic
#582377 #7B31A7 #9B4BCA #B57AD8 #D0AAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4BCA#FFFFFF#000000##FFFFFF
##9B4BCA1.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)
#0A6DCE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#956484
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b4bca;
/* rgb */ color: rgb(155, 75, 202);
/* oklch */ color: oklch(56.9% 0.195 310.7);
Tailwind
colors: {
  custom: {
    50: '#bc82db',
    500: '#9b4bca',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bca;
$custom-light: #bc82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bca",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 277.795,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.19541,
    "h": 310.7
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#9B4BCA
secondary
#B1D39D
accent
#DE4A81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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