#9D50CF#9D50CF

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

Color values

HEX#9D50CF
RGBrgb(157, 80, 207)
HSLhsl(276, 57%, 56%)
HSVhsv(276, 61%, 81%)
CMYKcmyk(24.2%, 61.4%, 0%, 18.8%)
CIE-LABlab(48.77, 53.63, -53.11)
CIE-LCHlch(48.77, 75.48, 315.28°)
OKLaboklab(58.15% 0.1238 -0.1497)
OKLCHoklch(58.15% 0.194 309.6)
XYZxyz(28.0336, 17.4109, 60.9032)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50CF #82CF50
analogous
#5E50CF #9D50CF #CF50C2
triadic
#9D50CF #CF9D50 #50CF9D
tetradic
#9D50CF #CF5E50 #82CF50 #50C2CF
square
#9D50CF #CF5E50 #82CF50 #50C2CF
split-complementary
#9D50CF #C2CF50 #50CF5E
monochromatic
#5C2381 #7F31B1 #9D50CF #B880DC #D3B0E9

Accessibility & contrast

On white

4.69
#9D50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9D50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50CF#FFFFFF#000000##FFFFFF
##9D50CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#966988
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d50cf;
/* rgb */ color: rgb(157, 80, 207);
/* oklch */ color: oklch(58.1% 0.194 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd85de',
    500: '#9d50cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d50cf;
$custom-light: #bd85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50cf",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 276.378,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.19426,
    "h": 309.6
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#9D50CF
secondary
#B8D8A3
accent
#E04884
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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