#9B4FEB#9B4FEB

#9B4FEB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.225 H 302.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B4FEB
RGBrgb(155, 79, 235)
HSLhsl(269, 80%, 62%)
HSVhsv(269, 66%, 92%)
CMYKcmyk(34%, 66.4%, 0%, 7.8%)
CIE-LABlab(50.17, 60.10, -66.78)
CIE-LCHlch(50.17, 89.84, 311.99°)
OKLaboklab(59.68% 0.1204 -0.1899)
OKLCHoklch(59.68% 0.225 302.4)
XYZxyz(31.3054, 18.5586, 80.5141)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FEB #9FEB4F
analogous
#4F51EB #9B4FEB #E94FEB
triadic
#9B4FEB #EB9B4F #4FEB9B
tetradic
#9B4FEB #EB4F51 #9FEB4F #4FEBE9
square
#9B4FEB #EB4F51 #9FEB4F #4FEBE9
split-complementary
#9B4FEB #EBE94F #51EB4F
monochromatic
#5E14AC #7C1AE3 #9B4FEB #BA86F1 #D9BDF7

Accessibility & contrast

On white

4.46
#9B4FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9B4FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4FEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FEB#FFFFFF#000000##000000
##9B4FEB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#8B7297
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b4feb;
/* rgb */ color: rgb(155, 79, 235);
/* oklch */ color: oklch(59.7% 0.225 302.4);
Tailwind
colors: {
  custom: {
    50: '#be85f2',
    500: '#9b4feb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4feb;
$custom-light: #be85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4feb",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 269.231,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.22483,
    "h": 302.4
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#9B4FEB
secondary
#CCE8AE
accent
#DC0A75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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