#9E50F8#9E50F8

#9E50F8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.1% C 0.238 H 300.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E50F8
RGBrgb(158, 80, 248)
HSLhsl(268, 92%, 64%)
HSVhsv(268, 68%, 97%)
CMYKcmyk(36.3%, 67.7%, 0%, 2.7%)
CIE-LABlab(51.59, 63.27, -71.73)
CIE-LCHlch(51.59, 95.65, 311.42°)
OKLaboklab(61.06% 0.1216 -0.2044)
OKLCHoklch(61.06% 0.238 300.8)
XYZxyz(33.9084, 19.7835, 90.8209)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E50F8 #AAF850
analogous
#5056F8 #9E50F8 #F250F8
triadic
#9E50F8 #F89E50 #50F89E
tetradic
#9E50F8 #F85056 #AAF850 #50F8F2
square
#9E50F8 #F85056 #AAF850 #50F8F2
split-complementary
#9E50F8 #F8F250 #56F850
monochromatic
#6008C6 #7D15F6 #9E50F8 #BF8BFA #DFC6FD

Accessibility & contrast

On white

4.24
#9E50F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9E50F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E50F8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E50F8#FFFFFF#000000##000000
##9E50F81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#8A789E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e50f8;
/* rgb */ color: rgb(158, 80, 248);
/* oklch */ color: oklch(61.1% 0.238 300.8);
Tailwind
colors: {
  custom: {
    50: '#c186fc',
    500: '#9e50f8',
    950: '#000000',
  },
}
SCSS
$custom: #9e50f8;
$custom-light: #c186fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e50f8",
  "rgb": {
    "r": 158,
    "g": 80,
    "b": 248
  },
  "hsl": {
    "h": 267.857,
    "s": 92.308,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.23782,
    "h": 300.8
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#9E50F8
secondary
#D4EFB5
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9E50F8

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

Preview Lab → · Contrast checker → · Palette generator →

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