#9B50DB#9B50DB

#9B50DB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.206 H 305.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B50DB
RGBrgb(155, 80, 219)
HSLhsl(272, 66%, 59%)
HSVhsv(272, 63%, 86%)
CMYKcmyk(29.2%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.28, 55.89, -59.16)
CIE-LCHlch(49.28, 81.39, 313.37°)
OKLaboklab(58.7% 0.1207 -0.1675)
OKLCHoklch(58.7% 0.206 305.8)
XYZxyz(29.1696, 17.8206, 68.9071)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50DB #90DB50
analogous
#5550DB #9B50DB #DB50D5
triadic
#9B50DB #DB9B50 #50DB9B
tetradic
#9B50DB #DB5550 #90DB50 #50D5DB
square
#9B50DB #DB5550 #90DB50 #50D5DB
split-complementary
#9B50DB #D5DB50 #50DB55
monochromatic
#5D1E92 #7D29C5 #9B50DB #B883E5 #D5B6F0

Accessibility & contrast

On white

4.60
#9B50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50DB#FFFFFF#000000##FFFFFF
##9B50DB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2F75D8
Tritanopia (blue-blind)
#906D8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b50db;
/* rgb */ color: rgb(155, 80, 219);
/* oklch */ color: oklch(58.7% 0.206 305.8);
Tailwind
colors: {
  custom: {
    50: '#bd85e7',
    500: '#9b50db',
    950: '#000000',
  },
}
SCSS
$custom: #9b50db;
$custom-light: #bd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50db",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 272.374,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.20649,
    "h": 305.8
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#9B50DB
secondary
#C1DFA8
accent
#E93F8D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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