#9B50DF#9B50DF

#9B50DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.211 H 304.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B50DF
RGBrgb(155, 80, 223)
HSLhsl(271, 69%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(30.5%, 64.1%, 0%, 12.5%)
CIE-LABlab(49.54, 56.82, -61.02)
CIE-LCHlch(49.54, 83.37, 312.96°)
OKLaboklab(58.97% 0.1205 -0.173)
OKLCHoklch(58.97% 0.211 304.9)
XYZxyz(29.7026, 18.0338, 71.7138)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50DF #94DF50
analogous
#5450DF #9B50DF #DF50DB
triadic
#9B50DF #DF9B50 #50DF9B
tetradic
#9B50DF #DF5450 #94DF50 #50DBDF
square
#9B50DF #DF5450 #94DF50 #50DBDF
split-complementary
#9B50DF #DBDF50 #50DF54
monochromatic
#5D1C99 #7D25CC #9B50DF #B984E8 #D6B7F2

Accessibility & contrast

On white

4.56
#9B50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9B50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B50DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50DF#FFFFFF#000000##000000
##9B50DF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#8F6F91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b50df;
/* rgb */ color: rgb(155, 80, 223);
/* oklch */ color: oklch(59.0% 0.211 304.9);
Tailwind
colors: {
  custom: {
    50: '#bd85ea',
    500: '#9b50df',
    950: '#000000',
  },
}
SCSS
$custom: #9b50df;
$custom-light: #bd85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50df",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 271.469,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.21078,
    "h": 304.9
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#9B50DF
secondary
#C4E1AA
accent
#EC3C90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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