#9A50DB#9A50DB

#9A50DB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.206 H 305.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9A50DB
RGBrgb(154, 80, 219)
HSLhsl(272, 66%, 59%)
HSVhsv(272, 63%, 86%)
CMYKcmyk(29.7%, 63.5%, 0%, 14.1%)
CIE-LABlab(49.16, 55.67, -59.36)
CIE-LCHlch(49.16, 81.39, 313.16°)
OKLaboklab(58.59% 0.1194 -0.1681)
OKLCHoklch(58.59% 0.206 305.4)
XYZxyz(28.9785, 17.7220, 68.8982)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A50DB #91DB50
analogous
#5450DB #9A50DB #DB50D7
triadic
#9A50DB #DB9A50 #50DB9A
tetradic
#9A50DB #DB5450 #91DB50 #50D7DB
square
#9A50DB #DB5450 #91DB50 #50D7DB
split-complementary
#9A50DB #D7DB50 #50DB54
monochromatic
#5C1E92 #7C29C5 #9A50DB #B783E5 #D5B6F0

Accessibility & contrast

On white

4.62
#9A50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9A50DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A50DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A50DB#FFFFFF#000000##FFFFFF
##9A50DB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#8F6D8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a50db;
/* rgb */ color: rgb(154, 80, 219);
/* oklch */ color: oklch(58.6% 0.206 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc85e7',
    500: '#9a50db',
    950: '#000000',
  },
}
SCSS
$custom: #9a50db;
$custom-light: #bc85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a50db",
  "rgb": {
    "r": 154,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 271.942,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.20624,
    "h": 305.4
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#9A50DB
secondary
#C2DFA8
accent
#E93F8E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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