#9A50BC#9A50BC

#9A50BC is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.6% C 0.173 H 313.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9A50BC
RGBrgb(154, 80, 188)
HSLhsl(281, 45%, 53%)
HSVhsv(281, 57%, 74%)
CMYKcmyk(18.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(47.29, 48.73, -44.54)
CIE-LCHlch(47.29, 66.01, 317.57°)
OKLaboklab(56.63% 0.1199 -0.1247)
OKLCHoklch(56.63% 0.173 313.9)
XYZxyz(25.2707, 16.2389, 49.3704)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50BC #72BC50
analogous
#6450BC #9A50BC #BC50A8
triadic
#9A50BC #BC9A50 #50BC9A
tetradic
#9A50BC #BC6450 #72BC50 #50A8BC
square
#9A50BC #BC6450 #72BC50 #50A8BC
split-complementary
#9A50BC #A8BC50 #50BC64
monochromatic
#552869 #783996 #9A50BC #B47CCD #CDA9DE

Accessibility & contrast

On white

4.94
#9A50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9A50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50BC#FFFFFF#000000##FFFFFF
##9A50BC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#97637E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a50bc;
/* rgb */ color: rgb(154, 80, 188);
/* oklch */ color: oklch(56.6% 0.173 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba84d1',
    500: '#9a50bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a50bc;
$custom-light: #ba84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50bc",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 281.111,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.17296,
    "h": 313.9
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#9A50BC
secondary
#ABCB9C
accent
#D4537C
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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