#9B50EB#9B50EB

#9B50EB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.224 H 302.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B50EB
RGBrgb(155, 80, 235)
HSLhsl(269, 79%, 62%)
HSVhsv(269, 66%, 92%)
CMYKcmyk(34%, 66%, 0%, 7.8%)
CIE-LABlab(50.34, 59.62, -66.50)
CIE-LCHlch(50.34, 89.31, 311.88°)
OKLaboklab(59.8% 0.1193 -0.1891)
OKLCHoklch(59.8% 0.224 302.3)
XYZxyz(31.3781, 18.7040, 80.5383)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50EB #A0EB50
analogous
#5053EB #9B50EB #E850EB
triadic
#9B50EB #EB9B50 #50EB9B
tetradic
#9B50EB #EB5053 #A0EB50 #50EBE8
square
#9B50EB #EB5053 #A0EB50 #50EBE8
split-complementary
#9B50EB #EBE850 #53EB50
monochromatic
#5E14AD #7C1AE4 #9B50EB #BA87F1 #DABEF8

Accessibility & contrast

On white

4.43
#9B50EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9B50EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B50EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50EB#FFFFFF#000000##000000
##9B50EB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#8B7397
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b50eb;
/* rgb */ color: rgb(155, 80, 235);
/* oklch */ color: oklch(59.8% 0.224 302.3);
Tailwind
colors: {
  custom: {
    50: '#be86f2',
    500: '#9b50eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b50eb;
$custom-light: #be86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50eb",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 269.032,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.598,
    "c": 0.22358,
    "h": 302.3
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#9B50EB
secondary
#CCE8AF
accent
#DC0A76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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