#9E3FD2#9E3FD2

#9E3FD2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.220 H 310.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9E3FD2
RGBrgb(158, 63, 210)
HSLhsl(279, 62%, 54%)
HSVhsv(279, 70%, 82%)
CMYKcmyk(24.8%, 70%, 0%, 17.6%)
CIE-LABlab(46.28, 62.28, -58.83)
CIE-LCHlch(46.28, 85.67, 316.63°)
OKLaboklab(56.44% 0.1438 -0.1664)
OKLCHoklch(56.44% 0.22 310.8)
XYZxyz(27.5087, 15.4779, 62.4987)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3FD2 #73D23F
analogous
#543FD2 #9E3FD2 #D23FBC
triadic
#9E3FD2 #D29E3F #3FD29E
tetradic
#9E3FD2 #D2543F #73D23F #3FBCD2
square
#9E3FD2 #D2543F #73D23F #3FBCD2
split-complementary
#9E3FD2 #BCD23F #3FD254
monochromatic
#591D7A #7D28AC #9E3FD2 #B771DE #D0A2E9

Accessibility & contrast

On white

5.13
#9E3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3FD2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3FD2#FFFFFF#000000##FFFFFF
##9E3FD21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#975F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e3fd2;
/* rgb */ color: rgb(158, 63, 210);
/* oklch */ color: oklch(56.4% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ce1',
    500: '#9e3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3fd2;
$custom-light: #bf7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3fd2",
  "rgb": {
    "r": 158,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 278.776,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.21992,
    "h": 310.8
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#9E3FD2
secondary
#ADD697
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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