#9A50DF#9A50DF

#9A50DF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.211 H 304.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9A50DF
RGBrgb(154, 80, 223)
HSLhsl(271, 69%, 59%)
HSVhsv(271, 64%, 87%)
CMYKcmyk(30.9%, 64.1%, 0%, 12.5%)
CIE-LABlab(49.42, 56.60, -61.22)
CIE-LCHlch(49.42, 83.37, 312.76°)
OKLaboklab(58.86% 0.1192 -0.1736)
OKLCHoklch(58.86% 0.211 304.5)
XYZxyz(29.5114, 17.9352, 71.7048)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50DF #95DF50
analogous
#5350DF #9A50DF #DF50DC
triadic
#9A50DF #DF9A50 #50DF9A
tetradic
#9A50DF #DF5350 #95DF50 #50DCDF
square
#9A50DF #DF5350 #95DF50 #50DCDF
split-complementary
#9A50DF #DCDF50 #50DF53
monochromatic
#5C1C99 #7C25CC #9A50DF #B884E8 #D6B7F2

Accessibility & contrast

On white

4.58
#9A50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9A50DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A50DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50DF#FFFFFF#000000##000000
##9A50DF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#8D6F91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a50df;
/* rgb */ color: rgb(154, 80, 223);
/* oklch */ color: oklch(58.9% 0.211 304.5);
Tailwind
colors: {
  custom: {
    50: '#bc85ea',
    500: '#9a50df',
    950: '#000000',
  },
}
SCSS
$custom: #9a50df;
$custom-light: #bc85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50df",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 271.049,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.21054,
    "h": 304.5
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#9A50DF
secondary
#C4E1AA
accent
#EC3C91
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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