#9B50CD#9B50CD

#9B50CD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.8% C 0.192 H 309.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9B50CD
RGBrgb(155, 80, 205)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.4%, 61%, 0%, 19.6%)
CIE-LABlab(48.40, 52.71, -52.57)
CIE-LCHlch(48.40, 74.44, 315.08°)
OKLaboklab(57.79% 0.1213 -0.1482)
OKLCHoklch(57.79% 0.192 309.3)
XYZxyz(27.4035, 17.1141, 59.6055)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50CD #82CD50
analogous
#5C50CD #9B50CD #CD50C0
triadic
#9B50CD #CD9B50 #50CD9B
tetradic
#9B50CD #CD5C50 #82CD50 #50C0CD
square
#9B50CD #CD5C50 #82CD50 #50C0CD
split-complementary
#9B50CD #C0CD50 #50CD5C
monochromatic
#5A247E #7C32AE #9B50CD #B680DB #D1AFE8

Accessibility & contrast

On white

4.75
#9B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9B50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50CD#FFFFFF#000000##FFFFFF
##9B50CD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#946887
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b50cd;
/* rgb */ color: rgb(155, 80, 205);
/* oklch */ color: oklch(57.8% 0.192 309.3);
Tailwind
colors: {
  custom: {
    50: '#bc85dd',
    500: '#9b50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b50cd;
$custom-light: #bc85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50cd",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.1915,
    "h": 309.3
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#9B50CD
secondary
#B7D6A2
accent
#DF4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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