#9A50CD#9A50CD

#9A50CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.191 H 308.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9A50CD
RGBrgb(154, 80, 205)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 61%, 80%)
CMYKcmyk(24.9%, 61%, 0%, 19.6%)
CIE-LABlab(48.28, 52.48, -52.77)
CIE-LCHlch(48.28, 74.42, 314.84°)
OKLaboklab(57.67% 0.12 -0.1488)
OKLCHoklch(57.67% 0.191 308.9)
XYZxyz(27.2123, 17.0156, 59.5966)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50CD #83CD50
analogous
#5B50CD #9A50CD #CD50C1
triadic
#9A50CD #CD9A50 #50CD9A
tetradic
#9A50CD #CD5B50 #83CD50 #50C1CD
square
#9A50CD #CD5B50 #83CD50 #50C1CD
split-complementary
#9A50CD #C1CD50 #50CD5B
monochromatic
#5A247E #7B32AE #9A50CD #B580DB #D1AFE8

Accessibility & contrast

On white

4.77
#9A50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9A50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50CD#FFFFFF#000000##FFFFFF
##9A50CD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#936887
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9a50cd;
/* rgb */ color: rgb(154, 80, 205);
/* oklch */ color: oklch(57.7% 0.191 308.9);
Tailwind
colors: {
  custom: {
    50: '#bb85dd',
    500: '#9a50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a50cd;
$custom-light: #bb85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50cd",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 275.52,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.19118,
    "h": 308.9
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#9A50CD
secondary
#B8D6A2
accent
#DF4986
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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