#9B50E8#9B50E8

#9B50E8 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.220 H 302.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B50E8
RGBrgb(155, 80, 232)
HSLhsl(270, 77%, 61%)
HSVhsv(270, 66%, 91%)
CMYKcmyk(33.2%, 65.5%, 0%, 9%)
CIE-LABlab(50.14, 58.92, -65.14)
CIE-LCHlch(50.14, 87.83, 312.13°)
OKLaboklab(59.59% 0.1196 -0.1851)
OKLCHoklch(59.59% 0.22 302.9)
XYZxyz(30.9483, 18.5321, 78.2749)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50E8 #9DE850
analogous
#5051E8 #9B50E8 #E750E8
triadic
#9B50E8 #E89B50 #50E89B
tetradic
#9B50E8 #E85051 #9DE850 #50E8E7
square
#9B50E8 #E85051 #9DE850 #50E8E7
split-complementary
#9B50E8 #E8E750 #51E850
monochromatic
#5E16A8 #7C1DDE #9B50E8 #BA86EF #D9BCF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B50E8#FFFFFF#000000##000000
##9B50E81.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)
#0076ED
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#8C7295
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b50e8;
/* rgb */ color: rgb(155, 80, 232);
/* oklch */ color: oklch(59.6% 0.220 302.9);
Tailwind
colors: {
  custom: {
    50: '#be86f0',
    500: '#9b50e8',
    950: '#000000',
  },
}
SCSS
$custom: #9b50e8;
$custom-light: #be86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50e8",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 269.605,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.22038,
    "h": 302.9
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#9B50E8
secondary
#CAE6AD
accent
#D90D74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B50E8

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

Preview Lab → · Contrast checker → · Palette generator →

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