#9A50DD#9A50DD

#9A50DD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.208 H 304.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9A50DD
RGBrgb(154, 80, 221)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(30.3%, 63.8%, 0%, 13.3%)
CIE-LABlab(49.29, 56.14, -60.29)
CIE-LCHlch(49.29, 82.38, 312.96°)
OKLaboklab(58.72% 0.1193 -0.1709)
OKLCHoklch(58.72% 0.208 304.9)
XYZxyz(29.2433, 17.8280, 70.2931)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50DD #93DD50
analogous
#5450DD #9A50DD #DD50DA
triadic
#9A50DD #DD9A50 #50DD9A
tetradic
#9A50DD #DD5450 #93DD50 #50DADD
square
#9A50DD #DD5450 #93DD50 #50DADD
split-complementary
#9A50DD #DADD50 #50DD54
monochromatic
#5C1D96 #7C27C9 #9A50DD #B883E7 #D5B6F1

Accessibility & contrast

On white

4.60
#9A50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9A50DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50DD#FFFFFF#000000##FFFFFF
##9A50DD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#8E6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a50dd;
/* rgb */ color: rgb(154, 80, 221);
/* oklch */ color: oklch(58.7% 0.208 304.9);
Tailwind
colors: {
  custom: {
    50: '#bc85e8',
    500: '#9a50dd',
    950: '#000000',
  },
}
SCSS
$custom: #9a50dd;
$custom-light: #bc85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50dd",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 271.489,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.2084,
    "h": 304.9
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#9A50DD
secondary
#C3E0A9
accent
#EA3D90
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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