#9E3FDA#9E3FDA

#9E3FDA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.228 H 308.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9E3FDA
RGBrgb(158, 63, 218)
HSLhsl(277, 68%, 55%)
HSVhsv(277, 71%, 85%)
CMYKcmyk(27.5%, 71.1%, 0%, 14.5%)
CIE-LABlab(46.83, 63.98, -62.53)
CIE-LCHlch(46.83, 89.47, 315.66°)
OKLaboklab(57% 0.1428 -0.1772)
OKLCHoklch(57% 0.228 308.9)
XYZxyz(28.5304, 15.8866, 67.8795)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FDA #7BDA3F
analogous
#503FDA #9E3FDA #DA3FC9
triadic
#9E3FDA #DA9E3F #3FDA9E
tetradic
#9E3FDA #DA503F #7BDA3F #3FC9DA
square
#9E3FDA #DA503F #7BDA3F #3FC9DA
split-complementary
#9E3FDA #C9DA3F #3FDA50
monochromatic
#5B1A85 #7F24B8 #9E3FDA #B872E4 #D2A6EE

Accessibility & contrast

On white

5.03
#9E3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9E3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FDA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FDA#FFFFFF#000000##FFFFFF
##9E3FDA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1770D7
Tritanopia (blue-blind)
#956289
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e3fda;
/* rgb */ color: rgb(158, 63, 218);
/* oklch */ color: oklch(57.0% 0.228 308.9);
Tailwind
colors: {
  custom: {
    50: '#c07ce6',
    500: '#9e3fda',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fda;
$custom-light: #c07ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fda",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 276.774,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.22759,
    "h": 308.9
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#9E3FDA
secondary
#B3DB9A
accent
#EB3D80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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