#9B4FC7#9B4FC7

#9B4FC7 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.187 H 311.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9B4FC7
RGBrgb(155, 79, 199)
HSLhsl(278, 52%, 55%)
HSVhsv(278, 60%, 78%)
CMYKcmyk(22.1%, 60.3%, 0%, 22%)
CIE-LABlab(47.86, 51.88, -49.98)
CIE-LCHlch(47.86, 72.04, 316.06°)
OKLaboklab(57.28% 0.1226 -0.1406)
OKLCHoklch(57.28% 0.187 311.1)
XYZxyz(26.6204, 16.6846, 55.8399)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FC7 #7BC74F
analogous
#5F4FC7 #9B4FC7 #C74FB7
triadic
#9B4FC7 #C79B4F #4FC79B
tetradic
#9B4FC7 #C75F4F #7BC74F #4FB7C7
square
#9B4FC7 #C75F4F #7BC74F #4FB7C7
split-complementary
#9B4FC7 #B7C74F #4FC75F
monochromatic
#592676 #7B34A4 #9B4FC7 #B57DD6 #D0ACE5

Accessibility & contrast

On white

4.84
#9B4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FC7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FC7#FFFFFF#000000##FFFFFF
##9B4FC71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#966584
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4fc7;
/* rgb */ color: rgb(155, 79, 199);
/* oklch */ color: oklch(57.3% 0.187 311.1);
Tailwind
colors: {
  custom: {
    50: '#bc84d9',
    500: '#9b4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fc7;
$custom-light: #bc84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fc7",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 278,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.18654,
    "h": 311.1
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#9B4FC7
secondary
#B2D2A0
accent
#DB4D81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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