#9F50CD#9F50CD

#9F50CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.193 H 311.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F50CD
RGBrgb(159, 80, 205)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 61%, 80%)
CMYKcmyk(22.4%, 61%, 0%, 19.6%)
CIE-LABlab(48.90, 53.66, -51.74)
CIE-LCHlch(48.90, 74.54, 316.04°)
OKLaboklab(58.26% 0.1264 -0.1456)
OKLCHoklch(58.26% 0.193 311)
XYZxyz(28.1841, 17.5166, 59.6421)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50CD #7ECD50
analogous
#6050CD #9F50CD #CD50BC
triadic
#9F50CD #CD9F50 #50CD9F
tetradic
#9F50CD #CD6050 #7ECD50 #50BCCD
square
#9F50CD #CD6050 #7ECD50 #50BCCD
split-complementary
#9F50CD #BCCD50 #50CD60
monochromatic
#5D247E #8032AE #9F50CD #B980DB #D3AFE8

Accessibility & contrast

On white

4.66
#9F50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9F50CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50CD#FFFFFF#000000##FFFFFF
##9F50CD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#996887
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f50cd;
/* rgb */ color: rgb(159, 80, 205);
/* oklch */ color: oklch(58.3% 0.193 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf85dd',
    500: '#9f50cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f50cd;
$custom-light: #bf85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50cd",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 277.92,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.19281,
    "h": 311
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#9F50CD
secondary
#B6D6A2
accent
#DF4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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