#9B50CE#9B50CE

#9B50CE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.193 H 309.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9B50CE
RGBrgb(155, 80, 206)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 61%, 81%)
CMYKcmyk(24.8%, 61.2%, 0%, 19.2%)
CIE-LABlab(48.46, 52.94, -53.04)
CIE-LCHlch(48.46, 74.94, 314.94°)
OKLaboklab(57.85% 0.1213 -0.1496)
OKLCHoklch(57.85% 0.193 309)
XYZxyz(27.5246, 17.1626, 60.2433)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50CE #83CE50
analogous
#5C50CE #9B50CE #CE50C2
triadic
#9B50CE #CE9B50 #50CE9B
tetradic
#9B50CE #CE5C50 #83CE50 #50C2CE
square
#9B50CE #CE5C50 #83CE50 #50C2CE
split-complementary
#9B50CE #C2CE50 #50CE5C
monochromatic
#5B2480 #7C31B0 #9B50CE #B680DB #D2B0E9

Accessibility & contrast

On white

4.74
#9B50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9B50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50CE#FFFFFF#000000##FFFFFF
##9B50CE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#946988
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b50ce;
/* rgb */ color: rgb(155, 80, 206);
/* oklch */ color: oklch(57.9% 0.193 309.0);
Tailwind
colors: {
  custom: {
    50: '#bc85de',
    500: '#9b50ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b50ce;
$custom-light: #bc85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50ce",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 275.714,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.19257,
    "h": 309
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#9B50CE
secondary
#B8D7A3
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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