#9D50CE#9D50CE

#9D50CE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.193 H 309.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D50CE
RGBrgb(157, 80, 206)
HSLhsl(277, 56%, 56%)
HSVhsv(277, 61%, 81%)
CMYKcmyk(23.8%, 61.2%, 0%, 19.2%)
CIE-LABlab(48.71, 53.41, -52.63)
CIE-LCHlch(48.71, 74.98, 315.42°)
OKLaboklab(58.08% 0.1238 -0.1483)
OKLCHoklch(58.08% 0.193 309.9)
XYZxyz(27.9117, 17.3622, 60.2614)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50CE #81CE50
analogous
#5E50CE #9D50CE #CE50C0
triadic
#9D50CE #CE9D50 #50CE9D
tetradic
#9D50CE #CE5E50 #81CE50 #50C0CE
square
#9D50CE #CE5E50 #81CE50 #50C0CE
split-complementary
#9D50CE #C0CE50 #50CE5E
monochromatic
#5C2480 #7E31B0 #9D50CE #B880DB #D3B0E9

Accessibility & contrast

On white

4.70
#9D50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50CE#FFFFFF#000000##FFFFFF
##9D50CE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#966888
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d50ce;
/* rgb */ color: rgb(157, 80, 206);
/* oklch */ color: oklch(58.1% 0.193 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd85de',
    500: '#9d50ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d50ce;
$custom-light: #bd85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50ce",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 276.667,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.1932,
    "h": 309.9
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#9D50CE
secondary
#B7D7A3
accent
#E04883
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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