#9A50E7#9A50E7

#9A50E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.219 H 302.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9A50E7
RGBrgb(154, 80, 231)
HSLhsl(269, 76%, 61%)
HSVhsv(269, 65%, 91%)
CMYKcmyk(33.3%, 65.4%, 0%, 9.4%)
CIE-LABlab(49.95, 58.48, -64.88)
CIE-LCHlch(49.95, 87.34, 312.03°)
OKLaboklab(59.41% 0.1184 -0.1844)
OKLCHoklch(59.41% 0.219 302.7)
XYZxyz(30.6155, 18.3768, 77.5200)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50E7 #9DE750
analogous
#5051E7 #9A50E7 #E550E7
triadic
#9A50E7 #E79A50 #50E79A
tetradic
#9A50E7 #E75051 #9DE750 #50E7E5
square
#9A50E7 #E75051 #9DE750 #50E7E5
split-complementary
#9A50E7 #E7E550 #51E750
monochromatic
#5D17A6 #7B1EDC #9A50E7 #B986EE #D8BCF6

Accessibility & contrast

On white

4.49
#9A50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9A50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A50E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50E7#FFFFFF#000000##000000
##9A50E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1176E4
Tritanopia (blue-blind)
#8B7295
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a50e7;
/* rgb */ color: rgb(154, 80, 231);
/* oklch */ color: oklch(59.4% 0.219 302.7);
Tailwind
colors: {
  custom: {
    50: '#bd86ef',
    500: '#9a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #9a50e7;
$custom-light: #bd86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50e7",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 269.404,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.21911,
    "h": 302.7
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#9A50E7
secondary
#CAE6AD
accent
#D80D75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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