#9D50CA#9D50CA

#9D50CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.189 H 311.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D50CA
RGBrgb(157, 80, 202)
HSLhsl(278, 54%, 55%)
HSVhsv(278, 60%, 79%)
CMYKcmyk(22.3%, 60.4%, 0%, 20.8%)
CIE-LABlab(48.47, 52.52, -50.72)
CIE-LCHlch(48.47, 73.01, 316.00°)
OKLaboklab(57.83% 0.1239 -0.1427)
OKLCHoklch(57.83% 0.189 311)
XYZxyz(27.4320, 17.1703, 57.7348)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50CA #7DCA50
analogous
#6050CA #9D50CA #CA50BA
triadic
#9D50CA #CA9D50 #50CA9D
tetradic
#9D50CA #CA6050 #7DCA50 #50BACA
square
#9D50CA #CA6050 #7DCA50 #50BACA
split-complementary
#9D50CA #BACA50 #50CA60
monochromatic
#5B257A #7E33A9 #9D50CA #B77FD8 #D2AEE6

Accessibility & contrast

On white

4.74
#9D50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50CA#FFFFFF#000000##FFFFFF
##9D50CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#4475C7
Tritanopia (blue-blind)
#976786
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d50ca;
/* rgb */ color: rgb(157, 80, 202);
/* oklch */ color: oklch(57.8% 0.189 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd85db',
    500: '#9d50ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d50ca;
$custom-light: #bd85db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50ca",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 277.869,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.18896,
    "h": 311
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#9D50CA
secondary
#B4D4A1
accent
#DD4B81
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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