#9B50DC#9B50DC

#9B50DC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.208 H 305.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B50DC
RGBrgb(155, 80, 220)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 64%, 86%)
CMYKcmyk(29.5%, 63.6%, 0%, 13.7%)
CIE-LABlab(49.34, 56.12, -59.63)
CIE-LCHlch(49.34, 81.89, 313.27°)
OKLaboklab(58.77% 0.1207 -0.1689)
OKLCHoklch(58.77% 0.208 305.5)
XYZxyz(29.3017, 17.8734, 69.6025)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50DC #91DC50
analogous
#5550DC #9B50DC #DC50D7
triadic
#9B50DC #DC9B50 #50DC9B
tetradic
#9B50DC #DC5550 #91DC50 #50D7DC
square
#9B50DC #DC5550 #91DC50 #50D7DC
split-complementary
#9B50DC #D7DC50 #50DC55
monochromatic
#5D1E94 #7D28C7 #9B50DC #B883E6 #D5B6F0

Accessibility & contrast

On white

4.59
#9B50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9B50DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50DC#FFFFFF#000000##FFFFFF
##9B50DC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#906E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b50dc;
/* rgb */ color: rgb(155, 80, 220);
/* oklch */ color: oklch(58.8% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#bd85e8',
    500: '#9b50dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b50dc;
$custom-light: #bd85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50dc",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 272.143,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.20757,
    "h": 305.5
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#9B50DC
secondary
#C2DFA8
accent
#EA3E8E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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