#9B3EE2#9B3EE2

#9B3EE2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.1% C 0.236 H 306.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B3EE2
RGBrgb(155, 62, 226)
HSLhsl(274, 74%, 56%)
HSVhsv(274, 73%, 89%)
CMYKcmyk(31.4%, 72.6%, 0%, 11.4%)
CIE-LABlab(46.85, 65.57, -67.07)
CIE-LCHlch(46.85, 93.79, 314.35°)
OKLaboklab(57.11% 0.1385 -0.1907)
OKLCHoklch(57.11% 0.236 306)
XYZxyz(28.9646, 15.9051, 73.4808)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EE2 #85E23E
analogous
#493EE2 #9B3EE2 #E23ED7
triadic
#9B3EE2 #E29B3E #3EE29B
tetradic
#9B3EE2 #E2493E #85E23E #3ED7E2
square
#9B3EE2 #E2493E #85E23E #3ED7E2
split-complementary
#9B3EE2 #D7E23E #3EE249
monochromatic
#5B1690 #7D1EC5 #9B3EE2 #B773EA #D2A8F2

Accessibility & contrast

On white

5.02
#9B3EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3EE2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EE2#FFFFFF#000000##FFFFFF
##9B3EE21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#8E658D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b3ee2;
/* rgb */ color: rgb(155, 62, 226);
/* oklch */ color: oklch(57.1% 0.236 306.0);
Tailwind
colors: {
  custom: {
    50: '#be7cec',
    500: '#9b3ee2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ee2;
$custom-light: #be7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ee2",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 274.024,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.23564,
    "h": 306
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#9B3EE2
secondary
#B9E09C
accent
#F13787
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9B3EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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