#9A50CE#9A50CE

#9A50CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.192 H 308.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9A50CE
RGBrgb(154, 80, 206)
HSLhsl(275, 56%, 56%)
HSVhsv(275, 61%, 81%)
CMYKcmyk(25.2%, 61.2%, 0%, 19.2%)
CIE-LABlab(48.34, 52.70, -53.25)
CIE-LCHlch(48.34, 74.92, 314.70°)
OKLaboklab(57.73% 0.12 -0.1502)
OKLCHoklch(57.73% 0.192 308.6)
XYZxyz(27.3334, 17.0640, 60.2343)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50CE #84CE50
analogous
#5B50CE #9A50CE #CE50C3
triadic
#9A50CE #CE9A50 #50CE9A
tetradic
#9A50CE #CE5B50 #84CE50 #50C3CE
square
#9A50CE #CE5B50 #84CE50 #50C3CE
split-complementary
#9A50CE #C3CE50 #50CE5B
monochromatic
#5A2480 #7B31B0 #9A50CE #B680DB #D1B0E9

Accessibility & contrast

On white

4.76
#9A50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9A50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50CE#FFFFFF#000000##FFFFFF
##9A50CE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1470D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#926988
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a50ce;
/* rgb */ color: rgb(154, 80, 206);
/* oklch */ color: oklch(57.7% 0.192 308.6);
Tailwind
colors: {
  custom: {
    50: '#bb85de',
    500: '#9a50ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a50ce;
$custom-light: #bb85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50ce",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 275.238,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.19226,
    "h": 308.6
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#9A50CE
secondary
#B8D7A3
accent
#E04887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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