#9D50CD#9D50CD

#9D50CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.192 H 310.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D50CD
RGBrgb(157, 80, 205)
HSLhsl(277, 56%, 56%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(23.4%, 61%, 0%, 19.6%)
CIE-LABlab(48.65, 53.19, -52.15)
CIE-LCHlch(48.65, 74.49, 315.56°)
OKLaboklab(58.02% 0.1239 -0.1469)
OKLCHoklch(58.02% 0.192 310.1)
XYZxyz(27.7906, 17.3137, 59.6237)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50CD #80CD50
analogous
#5E50CD #9D50CD #CD50BE
triadic
#9D50CD #CD9D50 #50CD9D
tetradic
#9D50CD #CD5E50 #80CD50 #50BECD
square
#9D50CD #CD5E50 #80CD50 #50BECD
split-complementary
#9D50CD #BECD50 #50CD5E
monochromatic
#5C247E #7E32AE #9D50CD #B880DB #D2AFE8

Accessibility & contrast

On white

4.71
#9D50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9D50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50CD#FFFFFF#000000##FFFFFF
##9D50CD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#976887
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d50cd;
/* rgb */ color: rgb(157, 80, 205);
/* oklch */ color: oklch(58.0% 0.192 310.1);
Tailwind
colors: {
  custom: {
    50: '#bd85dd',
    500: '#9d50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d50cd;
$custom-light: #bd85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50cd",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 276.96,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58021,
    "c": 0.19215,
    "h": 310.1
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#9D50CD
secondary
#B6D6A2
accent
#DF4983
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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