#9B4CD7#9B4CD7

#9B4CD7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.208 H 307.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9B4CD7
RGBrgb(155, 76, 215)
HSLhsl(274, 63%, 57%)
HSVhsv(274, 65%, 84%)
CMYKcmyk(27.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(48.32, 56.91, -58.43)
CIE-LCHlch(48.32, 81.57, 314.24°)
OKLaboklab(57.92% 0.1255 -0.1654)
OKLCHoklch(57.92% 0.208 307.2)
XYZxyz(28.3652, 17.0441, 66.0723)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CD7 #88D74C
analogous
#564CD7 #9B4CD7 #D74CCD
triadic
#9B4CD7 #D79B4C #4CD79B
tetradic
#9B4CD7 #D7564C #88D74C #4CCDD7
square
#9B4CD7 #D7564C #88D74C #4CCDD7
split-complementary
#9B4CD7 #CDD74C #4CD756
monochromatic
#5C1F8A #7D2ABC #9B4CD7 #B77EE2 #D3B0ED

Accessibility & contrast

On white

4.76
#9B4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9B4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CD7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CD7#FFFFFF#000000##FFFFFF
##9B4CD71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#91698B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b4cd7;
/* rgb */ color: rgb(155, 76, 215);
/* oklch */ color: oklch(57.9% 0.208 307.2);
Tailwind
colors: {
  custom: {
    50: '#bd83e4',
    500: '#9b4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cd7;
$custom-light: #bd83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cd7",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 274.101,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.20762,
    "h": 307.2
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#9B4CD7
secondary
#BCDCA3
accent
#E64189
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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