#9B50E7#9B50E7

#9B50E7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.219 H 303.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B50E7
RGBrgb(155, 80, 231)
HSLhsl(270, 76%, 61%)
HSVhsv(270, 65%, 91%)
CMYKcmyk(32.9%, 65.4%, 0%, 9.4%)
CIE-LABlab(50.07, 58.68, -64.68)
CIE-LCHlch(50.07, 87.34, 312.22°)
OKLaboklab(59.52% 0.1197 -0.1837)
OKLCHoklch(59.52% 0.219 303.1)
XYZxyz(30.8067, 18.4754, 77.5289)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50E7 #9CE750
analogous
#5050E7 #9B50E7 #E650E7
triadic
#9B50E7 #E79B50 #50E79B
tetradic
#9B50E7 #E75050 #9CE750 #50E7E6
square
#9B50E7 #E75050 #9CE750 #50E7E6
split-complementary
#9B50E7 #E7E650 #50E750
monochromatic
#5E17A6 #7C1EDC #9B50E7 #BA86EE #D9BCF6

Accessibility & contrast

On white

4.47
#9B50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9B50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B50E7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50E7#FFFFFF#000000##000000
##9B50E71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#1577E4
Tritanopia (blue-blind)
#8C7295
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b50e7;
/* rgb */ color: rgb(155, 80, 231);
/* oklch */ color: oklch(59.5% 0.219 303.1);
Tailwind
colors: {
  custom: {
    50: '#be86ef',
    500: '#9b50e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b50e7;
$custom-light: #be86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50e7",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 269.801,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59519,
    "c": 0.21931,
    "h": 303.1
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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