#9C3EE2#9C3EE2

#9C3EE2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.236 H 306.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9C3EE2
RGBrgb(156, 62, 226)
HSLhsl(274, 74%, 56%)
HSVhsv(274, 73%, 89%)
CMYKcmyk(31%, 72.6%, 0%, 11.4%)
CIE-LABlab(46.98, 65.75, -66.85)
CIE-LCHlch(46.98, 93.76, 314.52°)
OKLaboklab(57.23% 0.1398 -0.19)
OKLCHoklch(57.23% 0.236 306.3)
XYZxyz(29.1574, 16.0044, 73.4899)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EE2 #84E23E
analogous
#4A3EE2 #9C3EE2 #E23ED6
triadic
#9C3EE2 #E29C3E #3EE29C
tetradic
#9C3EE2 #E24A3E #84E23E #3ED6E2
square
#9C3EE2 #E24A3E #84E23E #3ED6E2
split-complementary
#9C3EE2 #D6E23E #3EE24A
monochromatic
#5C1690 #7E1EC5 #9C3EE2 #B773EA #D3A8F2

Accessibility & contrast

On white

5.00
#9C3EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9C3EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EE2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EE2#FFFFFF#000000##FFFFFF
##9C3EE21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#90658D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c3ee2;
/* rgb */ color: rgb(156, 62, 226);
/* oklch */ color: oklch(57.2% 0.236 306.3);
Tailwind
colors: {
  custom: {
    50: '#bf7cec',
    500: '#9c3ee2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ee2;
$custom-light: #bf7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ee2",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 274.39,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.23588,
    "h": 306.3
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C3EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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