#9E3FD6#9E3FD6

#9E3FD6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.7% C 0.224 H 309.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E3FD6
RGBrgb(158, 63, 214)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(26.2%, 70.6%, 0%, 16.1%)
CIE-LABlab(46.55, 63.13, -60.69)
CIE-LCHlch(46.55, 87.57, 316.13°)
OKLaboklab(56.72% 0.1433 -0.1718)
OKLCHoklch(56.72% 0.224 309.8)
XYZxyz(28.0133, 15.6797, 65.1561)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FD6 #77D63F
analogous
#533FD6 #9E3FD6 #D63FC3
triadic
#9E3FD6 #D69E3F #3FD69E
tetradic
#9E3FD6 #D6533F #77D63F #3FC3D6
square
#9E3FD6 #D6533F #77D63F #3FC3D6
split-complementary
#9E3FD6 #C3D63F #3FD653
monochromatic
#5A1B7F #7E26B2 #9E3FD6 #B771E1 #D1A4EC

Accessibility & contrast

On white

5.08
#9E3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9E3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FD6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FD6#FFFFFF#000000##FFFFFF
##9E3FD61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#966187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e3fd6;
/* rgb */ color: rgb(158, 63, 214);
/* oklch */ color: oklch(56.7% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ce3',
    500: '#9e3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fd6;
$custom-light: #bf7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fd6",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 277.748,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.22375,
    "h": 309.8
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#9E3FD6
secondary
#B0D898
accent
#E8407E
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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