#9B50C7#9B50C7

#9B50C7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.185 H 311.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9B50C7
RGBrgb(155, 80, 199)
HSLhsl(278, 52%, 55%)
HSVhsv(278, 60%, 78%)
CMYKcmyk(22.1%, 59.8%, 0%, 22%)
CIE-LABlab(48.05, 51.38, -49.69)
CIE-LCHlch(48.05, 71.47, 315.96°)
OKLaboklab(57.41% 0.1214 -0.1397)
OKLCHoklch(57.41% 0.185 311)
XYZxyz(26.6931, 16.8300, 55.8641)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50C7 #7CC750
analogous
#6050C7 #9B50C7 #C750B8
triadic
#9B50C7 #C79B50 #50C79B
tetradic
#9B50C7 #C76050 #7CC750 #50B8C7
square
#9B50C7 #C76050 #7CC750 #50B8C7
split-complementary
#9B50C7 #B8C750 #50C760
monochromatic
#592677 #7C35A5 #9B50C7 #B57ED6 #D0ADE5

Accessibility & contrast

On white

4.81
#9B50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9B50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50C7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50C7#FFFFFF#000000##FFFFFF
##9B50C71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#966684
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b50c7;
/* rgb */ color: rgb(155, 80, 199);
/* oklch */ color: oklch(57.4% 0.185 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc85d8',
    500: '#9b50c7',
    950: '#000000',
  },
}
SCSS
$custom: #9b50c7;
$custom-light: #bc85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50c7",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 277.815,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.18507,
    "h": 311
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#9B50C7
secondary
#B3D2A0
accent
#DB4D81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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