#9A50E5#9A50E5

#9A50E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.217 H 303.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9A50E5
RGBrgb(154, 80, 229)
HSLhsl(270, 74%, 61%)
HSVhsv(270, 65%, 90%)
CMYKcmyk(32.8%, 65.1%, 0%, 10.2%)
CIE-LABlab(49.82, 58.01, -63.97)
CIE-LCHlch(49.82, 86.35, 312.20°)
OKLaboklab(59.27% 0.1186 -0.1817)
OKLCHoklch(59.27% 0.217 303.1)
XYZxyz(30.3347, 18.2645, 76.0408)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50E5 #9BE550
analogous
#5050E5 #9A50E5 #E550E5
triadic
#9A50E5 #E59A50 #50E59A
tetradic
#9A50E5 #E55050 #9BE550 #50E5E5
square
#9A50E5 #E55050 #9BE550 #50E5E5
split-complementary
#9A50E5 #E5E550 #50E550
monochromatic
#5D18A2 #7B20D8 #9A50E5 #B985ED #D8BBF5

Accessibility & contrast

On white

4.51
#9A50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9A50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A50E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50E5#FFFFFF#000000##000000
##9A50E51.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#8B7194
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a50e5;
/* rgb */ color: rgb(154, 80, 229);
/* oklch */ color: oklch(59.3% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#bd86ee',
    500: '#9a50e5',
    950: '#000000',
  },
}
SCSS
$custom: #9a50e5;
$custom-light: #bd86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50e5",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 269.799,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59269,
    "c": 0.21697,
    "h": 303.1
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#9A50E5
secondary
#C9E5AC
accent
#D60F73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9A50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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