#9B50E5#9B50E5

#9B50E5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.217 H 303.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9B50E5
RGBrgb(155, 80, 229)
HSLhsl(270, 74%, 61%)
HSVhsv(270, 65%, 90%)
CMYKcmyk(32.3%, 65.1%, 0%, 10.2%)
CIE-LABlab(49.93, 58.21, -63.77)
CIE-LCHlch(49.93, 86.35, 312.39°)
OKLaboklab(59.38% 0.1199 -0.1811)
OKLCHoklch(59.38% 0.217 303.5)
XYZxyz(30.5258, 18.3631, 76.0498)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50E5 #9AE550
analogous
#5050E5 #9B50E5 #E550E5
triadic
#9B50E5 #E59B50 #50E59B
tetradic
#9B50E5 #E55050 #9AE550 #50E5E5
square
#9B50E5 #E55050 #9AE550 #50E5E5
split-complementary
#9B50E5 #E5E550 #50E550
monochromatic
#5E18A2 #7D20D8 #9B50E5 #B985ED #D8BBF5

Accessibility & contrast

On white

4.49
#9B50E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9B50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B50E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50E5#FFFFFF#000000##000000
##9B50E51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#8D7194
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b50e5;
/* rgb */ color: rgb(155, 80, 229);
/* oklch */ color: oklch(59.4% 0.217 303.5);
Tailwind
colors: {
  custom: {
    50: '#bd86ee',
    500: '#9b50e5',
    950: '#000000',
  },
}
SCSS
$custom: #9b50e5;
$custom-light: #bd86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50e5",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 270.201,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.21718,
    "h": 303.5
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#9B50E5
secondary
#C8E5AC
accent
#D60F72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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