#9D50C7#9D50C7

#9D50C7 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.186 H 311.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D50C7
RGBrgb(157, 80, 199)
HSLhsl(279, 52%, 55%)
HSVhsv(279, 60%, 78%)
CMYKcmyk(21.1%, 59.8%, 0%, 22%)
CIE-LABlab(48.30, 51.87, -49.27)
CIE-LCHlch(48.30, 71.54, 316.47°)
OKLaboklab(57.65% 0.1239 -0.1384)
OKLCHoklch(57.65% 0.186 311.8)
XYZxyz(27.0802, 17.0296, 55.8823)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50C7 #7AC750
analogous
#6250C7 #9D50C7 #C750B5
triadic
#9D50C7 #C79D50 #50C79D
tetradic
#9D50C7 #C76250 #7AC750 #50B5C7
square
#9D50C7 #C76250 #7AC750 #50B5C7
split-complementary
#9D50C7 #B5C750 #50C762
monochromatic
#5A2677 #7D35A5 #9D50C7 #B77ED6 #D1ADE5

Accessibility & contrast

On white

4.77
#9D50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9D50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50C7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50C7#FFFFFF#000000##FFFFFF
##9D50C71.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#986684
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d50c7;
/* rgb */ color: rgb(157, 80, 199);
/* oklch */ color: oklch(57.6% 0.186 311.8);
Tailwind
colors: {
  custom: {
    50: '#bd85d8',
    500: '#9d50c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d50c7;
$custom-light: #bd85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50c7",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 278.824,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.18579,
    "h": 311.8
  },
  "luminance": 0.17029
}

Semantic roles & 50–950 ramp

primary
#9D50C7
secondary
#B2D2A0
accent
#DB4D7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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