#9B4DE9#9B4DE9

#9B4DE9 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.225 H 303.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B4DE9
RGBrgb(155, 77, 233)
HSLhsl(270, 78%, 61%)
HSVhsv(270, 67%, 91%)
CMYKcmyk(33.5%, 67%, 0%, 8.6%)
CIE-LABlab(49.69, 60.57, -66.42)
CIE-LCHlch(49.69, 89.89, 312.36°)
OKLaboklab(59.29% 0.1227 -0.1888)
OKLCHoklch(59.29% 0.225 303)
XYZxyz(30.8760, 18.1595, 78.9535)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4DE9 #9BE94D
analogous
#4D4DE9 #9B4DE9 #E94DE9
triadic
#9B4DE9 #E99B4D #4DE99B
tetradic
#9B4DE9 #E94D4D #9BE94D #4DE9E9
square
#9B4DE9 #E94D4D #9BE94D #4DE9E9
split-complementary
#9B4DE9 #E9E94D #4DE94D
monochromatic
#5E15A7 #7C1BDD #9B4DE9 #BA83F0 #D8BAF6

Accessibility & contrast

On white

4.53
#9B4DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B4DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4DE9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4DE9#FFFFFF#000000##000000
##9B4DE91.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#8B7195
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b4de9;
/* rgb */ color: rgb(155, 77, 233);
/* oklch */ color: oklch(59.3% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#be84f1',
    500: '#9b4de9',
    950: '#000000',
  },
}
SCSS
$custom: #9b4de9;
$custom-light: #be84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4de9",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 270,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.2252,
    "h": 303
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#9B4DE9
secondary
#C9E6AB
accent
#DA0B73
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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