#9B4FF5#9B4FF5

#9B4FF5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.235 H 300.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9B4FF5
RGBrgb(155, 79, 245)
HSLhsl(267, 89%, 64%)
HSVhsv(267, 68%, 96%)
CMYKcmyk(36.7%, 67.8%, 0%, 3.9%)
CIE-LABlab(50.87, 62.46, -71.25)
CIE-LCHlch(50.87, 94.75, 311.24°)
OKLaboklab(60.4% 0.1191 -0.203)
OKLCHoklch(60.4% 0.235 300.4)
XYZxyz(32.7909, 19.1528, 88.3378)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FF5 #A9F54F
analogous
#4F56F5 #9B4FF5 #EE4FF5
triadic
#9B4FF5 #F59B4F #4FF59B
tetradic
#9B4FF5 #F54F56 #A9F54F #4FF5EE
square
#9B4FF5 #F54F56 #A9F54F #4FF5EE
split-complementary
#9B4FF5 #F5EE4F #56F54F
monochromatic
#5D0BBF #7A15F2 #9B4FF5 #BC89F8 #DDC3FC

Accessibility & contrast

On white

4.35
#9B4FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9B4FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4FF5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FF5#FFFFFF#000000##000000
##9B4FF51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#87769C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b4ff5;
/* rgb */ color: rgb(155, 79, 245);
/* oklch */ color: oklch(60.4% 0.235 300.4);
Tailwind
colors: {
  custom: {
    50: '#bf85f9',
    500: '#9b4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ff5;
$custom-light: #bf85f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ff5",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 267.47,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.23538,
    "h": 300.4
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#9B4FF5
secondary
#D2EDB2
accent
#E6007C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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