#9B4BD7#9B4BD7

#9B4BD7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.209 H 307.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B4BD7
RGBrgb(155, 75, 215)
HSLhsl(274, 64%, 57%)
HSVhsv(274, 65%, 84%)
CMYKcmyk(27.9%, 65.1%, 0%, 15.7%)
CIE-LABlab(48.14, 57.38, -58.71)
CIE-LCHlch(48.14, 82.10, 314.35°)
OKLaboklab(57.8% 0.1267 -0.1662)
OKLCHoklch(57.8% 0.209 307.3)
XYZxyz(28.2968, 16.9074, 66.0496)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BD7 #87D74B
analogous
#554BD7 #9B4BD7 #D74BCD
triadic
#9B4BD7 #D79B4B #4BD79B
tetradic
#9B4BD7 #D7554B #87D74B #4BCDD7
square
#9B4BD7 #D7554B #87D74B #4BCDD7
split-complementary
#9B4BD7 #CDD74B #4BD755
monochromatic
#5B1E89 #7D2ABB #9B4BD7 #B77DE2 #D3AFED

Accessibility & contrast

On white

4.79
#9B4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9B4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BD7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BD7#FFFFFF#000000##FFFFFF
##9B4BD71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#91698B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b4bd7;
/* rgb */ color: rgb(155, 75, 215);
/* oklch */ color: oklch(57.8% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#bd82e4',
    500: '#9b4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bd7;
$custom-light: #bd82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bd7",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 274.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.20895,
    "h": 307.3
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#9B4BD7
secondary
#BBDBA2
accent
#E74188
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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