#9F50CC#9F50CC

#9F50CC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.192 H 311.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9F50CC
RGBrgb(159, 80, 204)
HSLhsl(278, 55%, 56%)
HSVhsv(278, 61%, 80%)
CMYKcmyk(22.1%, 60.8%, 0%, 20%)
CIE-LABlab(48.84, 53.44, -51.26)
CIE-LCHlch(48.84, 74.05, 316.19°)
OKLaboklab(58.2% 0.1264 -0.1442)
OKLCHoklch(58.2% 0.192 311.2)
XYZxyz(28.0638, 17.4685, 59.0084)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50CC #7DCC50
analogous
#6150CC #9F50CC #CC50BB
triadic
#9F50CC #CC9F50 #50CC9F
tetradic
#9F50CC #CC6150 #7DCC50 #50BBCC
square
#9F50CC #CC6150 #7DCC50 #50BBCC
split-complementary
#9F50CC #BBCC50 #50CC61
monochromatic
#5D247D #8032AD #9F50CC #B97FDA #D3AFE8

Accessibility & contrast

On white

4.67
#9F50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9F50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50CC#FFFFFF#000000##FFFFFF
##9F50CC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#9A6787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f50cc;
/* rgb */ color: rgb(159, 80, 204);
/* oklch */ color: oklch(58.2% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf85dc',
    500: '#9f50cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f50cc;
$custom-light: #bf85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50cc",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 278.226,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.19176,
    "h": 311.2
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#9F50CC
secondary
#B5D6A2
accent
#DE4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9F50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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