#9B4FC2#9B4FC2

#9B4FC2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.181 H 312.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9B4FC2
RGBrgb(155, 79, 194)
HSLhsl(280, 49%, 54%)
HSVhsv(280, 59%, 76%)
CMYKcmyk(20.1%, 59.3%, 0%, 23.9%)
CIE-LABlab(47.57, 50.78, -47.56)
CIE-LCHlch(47.57, 69.58, 316.88°)
OKLaboklab(56.97% 0.1226 -0.1335)
OKLCHoklch(56.97% 0.181 312.6)
XYZxyz(26.0494, 16.4562, 52.8326)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FC2 #76C24F
analogous
#614FC2 #9B4FC2 #C24FAF
triadic
#9B4FC2 #C29B4F #4FC29B
tetradic
#9B4FC2 #C2614F #76C24F #4FAFC2
square
#9B4FC2 #C2614F #76C24F #4FAFC2
split-complementary
#9B4FC2 #AFC24F #4FC261
monochromatic
#572770 #7A379D #9B4FC2 #B57CD2 #CFAAE2

Accessibility & contrast

On white

4.89
#9B4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9B4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FC2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FC2#FFFFFF#000000##FFFFFF
##9B4FC21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#4873BF
Tritanopia (blue-blind)
#976481
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b4fc2;
/* rgb */ color: rgb(155, 79, 194);
/* oklch */ color: oklch(57.0% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#bb84d5',
    500: '#9b4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fc2;
$custom-light: #bb84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fc2",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 279.652,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.18124,
    "h": 312.6
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#9B4FC2
secondary
#AECF9E
accent
#D8507E
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9B4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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