#9B50C8#9B50C8

#9B50C8 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.186 H 310.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9B50C8
RGBrgb(155, 80, 200)
HSLhsl(278, 52%, 55%)
HSVhsv(278, 60%, 78%)
CMYKcmyk(22.5%, 60%, 0%, 21.6%)
CIE-LABlab(48.10, 51.60, -50.17)
CIE-LCHlch(48.10, 71.97, 315.80°)
OKLaboklab(57.47% 0.1214 -0.1411)
OKLCHoklch(57.47% 0.186 310.7)
XYZxyz(26.8096, 16.8766, 56.4776)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50C8 #7DC850
analogous
#5F50C8 #9B50C8 #C850B9
triadic
#9B50C8 #C89B50 #50C89B
tetradic
#9B50C8 #C85F50 #7DC850 #50B9C8
square
#9B50C8 #C85F50 #7DC850 #50B9C8
split-complementary
#9B50C8 #B9C850 #50C85F
monochromatic
#592678 #7C34A6 #9B50C8 #B67FD7 #D0ADE5

Accessibility & contrast

On white

4.80
#9B50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9B50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50C8#FFFFFF#000000##FFFFFF
##9B50C81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#956684
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b50c8;
/* rgb */ color: rgb(155, 80, 200);
/* oklch */ color: oklch(57.5% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#bc85d9',
    500: '#9b50c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b50c8;
$custom-light: #bc85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50c8",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 277.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.18614,
    "h": 310.7
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

primary
#9B50C8
secondary
#B4D3A1
accent
#DC4C82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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