#9F50E7#9F50E7

#9F50E7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.220 H 304.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9F50E7
RGBrgb(159, 80, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(31.2%, 65.4%, 0%, 9.4%)
CIE-LABlab(50.54, 59.51, -63.89)
CIE-LCHlch(50.54, 87.31, 312.97°)
OKLaboklab(59.97% 0.125 -0.1813)
OKLCHoklch(59.97% 0.22 304.6)
XYZxyz(31.5873, 18.8779, 77.5655)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F50E7 #98E750
analogous
#5350E7 #9F50E7 #E750E3
triadic
#9F50E7 #E79F50 #50E79F
tetradic
#9F50E7 #E75350 #98E750 #50E3E7
square
#9F50E7 #E75350 #98E750 #50E3E7
split-complementary
#9F50E7 #E3E750 #50E753
monochromatic
#6217A6 #811EDC #9F50E7 #BD86EE #DABCF6

Accessibility & contrast

On white

4.40
#9F50E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9F50E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F50E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F50E7#FFFFFF#000000##000000
##9F50E71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#927195
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f50e7;
/* rgb */ color: rgb(159, 80, 231);
/* oklch */ color: oklch(60.0% 0.220 304.6);
Tailwind
colors: {
  custom: {
    50: '#c086ef',
    500: '#9f50e7',
    950: '#000000',
  },
}
SCSS
$custom: #9f50e7;
$custom-light: #c086ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f50e7",
  "rgb": {
    "r": 159,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 271.391,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.22018,
    "h": 304.6
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#9F50E7
secondary
#C8E6AD
accent
#D80D6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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