#9A50CC#9A50CC

#9A50CC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.190 H 309.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9A50CC
RGBrgb(154, 80, 204)
HSLhsl(276, 55%, 56%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.5%, 60.8%, 0%, 20%)
CIE-LABlab(48.22, 52.25, -52.30)
CIE-LCHlch(48.22, 73.93, 314.98°)
OKLaboklab(57.61% 0.1201 -0.1474)
OKLCHoklch(57.61% 0.19 309.2)
XYZxyz(27.0920, 16.9674, 58.9629)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50CC #82CC50
analogous
#5C50CC #9A50CC #CC50C0
triadic
#9A50CC #CC9A50 #50CC9A
tetradic
#9A50CC #CC5C50 #82CC50 #50C0CC
square
#9A50CC #CC5C50 #82CC50 #50C0CC
split-complementary
#9A50CC #C0CC50 #50CC5C
monochromatic
#59247D #7B32AD #9A50CC #B57FDA #D1AFE8

Accessibility & contrast

On white

4.78
#9A50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9A50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50CC#FFFFFF#000000##FFFFFF
##9A50CC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#3F74C9
Tritanopia (blue-blind)
#936887
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9a50cc;
/* rgb */ color: rgb(154, 80, 204);
/* oklch */ color: oklch(57.6% 0.190 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb85dc',
    500: '#9a50cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a50cc;
$custom-light: #bb85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50cc",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 275.806,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.19011,
    "h": 309.2
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#9A50CC
secondary
#B7D6A2
accent
#DE4A86
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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