#9B3EC2#9B3EC2

#9B3EC2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.205 H 314.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9B3EC2
RGBrgb(155, 62, 194)
HSLhsl(282, 52%, 50%)
HSVhsv(282, 68%, 76%)
CMYKcmyk(20.1%, 68%, 0%, 23.9%)
CIE-LABlab(44.67, 58.73, -52.20)
CIE-LCHlch(44.67, 78.57, 318.37°)
OKLaboklab(54.88% 0.1426 -0.147)
OKLCHoklch(54.88% 0.205 314.1)
XYZxyz(24.9762, 14.3097, 52.4748)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EC2 #65C23E
analogous
#593EC2 #9B3EC2 #C23EA7
triadic
#9B3EC2 #C29B3E #3EC29B
tetradic
#9B3EC2 #C2593E #65C23E #3EA7C2
square
#9B3EC2 #C2593E #65C23E #3EA7C2
split-complementary
#9B3EC2 #A7C23E #3EC259
monochromatic
#512066 #762F94 #9B3EC2 #B36DD1 #CB9BDF

Accessibility & contrast

On white

5.44
#9B3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9B3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EC2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EC2#FFFFFF#000000##FFFFFF
##9B3EC21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#97597B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3ec2;
/* rgb */ color: rgb(155, 62, 194);
/* oklch */ color: oklch(54.9% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#bc7ad5',
    500: '#9b3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ec2;
$custom-light: #bc7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ec2",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 282.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.20482,
    "h": 314.1
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#9B3EC2
secondary
#A2CB90
accent
#DB4C77
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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