#9B50DA#9B50DA

#9B50DA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.205 H 306.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B50DA
RGBrgb(155, 80, 218)
HSLhsl(273, 65%, 58%)
HSVhsv(273, 63%, 85%)
CMYKcmyk(28.9%, 63.3%, 0%, 14.5%)
CIE-LABlab(49.21, 55.66, -58.70)
CIE-LCHlch(49.21, 80.89, 313.48°)
OKLaboklab(58.63% 0.1208 -0.1662)
OKLCHoklch(58.63% 0.205 306)
XYZxyz(29.0384, 17.7681, 68.2159)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50DA #8FDA50
analogous
#5650DA #9B50DA #DA50D4
triadic
#9B50DA #DA9B50 #50DA9B
tetradic
#9B50DA #DA5650 #8FDA50 #50D4DA
square
#9B50DA #DA5650 #8FDA50 #50D4DA
split-complementary
#9B50DA #D4DA50 #50DA56
monochromatic
#5D1F91 #7D29C3 #9B50DA #B883E5 #D5B5EF

Accessibility & contrast

On white

4.61
#9B50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9B50DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50DA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50DA#FFFFFF#000000##FFFFFF
##9B50DA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#3075D7
Tritanopia (blue-blind)
#906D8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b50da;
/* rgb */ color: rgb(155, 80, 218);
/* oklch */ color: oklch(58.6% 0.205 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd85e6',
    500: '#9b50da',
    950: '#000000',
  },
}
SCSS
$custom: #9b50da;
$custom-light: #bd85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50da",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 272.609,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.20543,
    "h": 306
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#9B50DA
secondary
#C1DEA8
accent
#E8408D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9B50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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