#9F50CE#9F50CE

#9F50CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.194 H 310.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F50CE
RGBrgb(159, 80, 206)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 61%, 81%)
CMYKcmyk(22.8%, 61.2%, 0%, 19.2%)
CIE-LABlab(48.96, 53.88, -52.22)
CIE-LCHlch(48.96, 75.03, 315.90°)
OKLaboklab(58.32% 0.1264 -0.147)
OKLCHoklch(58.32% 0.194 310.7)
XYZxyz(28.3052, 17.5651, 60.2799)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50CE #7FCE50
analogous
#6050CE #9F50CE #CE50BE
triadic
#9F50CE #CE9F50 #50CE9F
tetradic
#9F50CE #CE6050 #7FCE50 #50BECE
square
#9F50CE #CE6050 #7FCE50 #50BECE
split-complementary
#9F50CE #BECE50 #50CE60
monochromatic
#5D2480 #8031B0 #9F50CE #B980DB #D3B0E9

Accessibility & contrast

On white

4.65
#9F50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9F50CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F50CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50CE#FFFFFF#000000##FFFFFF
##9F50CE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#996888
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f50ce;
/* rgb */ color: rgb(159, 80, 206);
/* oklch */ color: oklch(58.3% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#bf85de',
    500: '#9f50ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f50ce;
$custom-light: #bf85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50ce",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 277.619,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.19386,
    "h": 310.7
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#9F50CE
secondary
#B6D7A3
accent
#E04881
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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