#9E3FD9#9E3FD9

#9E3FD9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.227 H 309.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9E3FD9
RGBrgb(158, 63, 217)
HSLhsl(277, 67%, 55%)
HSVhsv(277, 71%, 85%)
CMYKcmyk(27.2%, 71%, 0%, 14.9%)
CIE-LABlab(46.76, 63.77, -62.07)
CIE-LCHlch(46.76, 88.99, 315.77°)
OKLaboklab(56.93% 0.1429 -0.1759)
OKLCHoklch(56.93% 0.227 309.1)
XYZxyz(28.3999, 15.8344, 67.1924)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FD9 #7AD93F
analogous
#513FD9 #9E3FD9 #D93FC7
triadic
#9E3FD9 #D99E3F #3FD99E
tetradic
#9E3FD9 #D9513F #7AD93F #3FC7D9
square
#9E3FD9 #D9513F #7AD93F #3FC7D9
split-complementary
#9E3FD9 #C7D93F #3FD951
monochromatic
#5B1A84 #7F24B7 #9E3FD9 #B872E3 #D2A5ED

Accessibility & contrast

On white

5.04
#9E3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9E3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FD9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FD9#FFFFFF#000000##FFFFFF
##9E3FD91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#1A70D6
Tritanopia (blue-blind)
#956288
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e3fd9;
/* rgb */ color: rgb(158, 63, 217);
/* oklch */ color: oklch(56.9% 0.227 309.1);
Tailwind
colors: {
  custom: {
    50: '#c07ce6',
    500: '#9e3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fd9;
$custom-light: #c07ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fd9",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 277.013,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.22663,
    "h": 309.1
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#9E3FD9
secondary
#B2DA9A
accent
#EA3E80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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