#9A50DA#9A50DA

#9A50DA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.205 H 305.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A50DA
RGBrgb(154, 80, 218)
HSLhsl(272, 65%, 58%)
HSVhsv(272, 63%, 85%)
CMYKcmyk(29.4%, 63.3%, 0%, 14.5%)
CIE-LABlab(49.09, 55.44, -58.90)
CIE-LCHlch(49.09, 80.89, 313.27°)
OKLaboklab(58.52% 0.1195 -0.1668)
OKLCHoklch(58.52% 0.205 305.6)
XYZxyz(28.8472, 17.6695, 68.2069)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50DA #90DA50
analogous
#5550DA #9A50DA #DA50D5
triadic
#9A50DA #DA9A50 #50DA9A
tetradic
#9A50DA #DA5550 #90DA50 #50D5DA
square
#9A50DA #DA5550 #90DA50 #50D5DA
split-complementary
#9A50DA #D5DA50 #50DA55
monochromatic
#5C1F91 #7C29C3 #9A50DA #B783E5 #D4B5EF

Accessibility & contrast

On white

4.63
#9A50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9A50DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50DA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50DA#FFFFFF#000000##FFFFFF
##9A50DA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#8F6D8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a50da;
/* rgb */ color: rgb(154, 80, 218);
/* oklch */ color: oklch(58.5% 0.205 305.6);
Tailwind
colors: {
  custom: {
    50: '#bc85e6',
    500: '#9a50da',
    950: '#000000',
  },
}
SCSS
$custom: #9a50da;
$custom-light: #bc85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50da",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 272.174,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.20517,
    "h": 305.6
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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