#9C3EBA#9C3EBA

#9C3EBA is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.198 H 316.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9C3EBA
RGBrgb(156, 62, 186)
HSLhsl(285, 50%, 49%)
HSVhsv(285, 67%, 73%)
CMYKcmyk(16.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(44.32, 57.33, -48.09)
CIE-LCHlch(44.32, 74.83, 320.01°)
OKLaboklab(54.49% 0.1444 -0.1349)
OKLCHoklch(54.49% 0.198 316.9)
XYZxyz(24.2945, 14.0593, 47.8788)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EBA #5CBA3E
analogous
#5E3EBA #9C3EBA #BA3E9A
triadic
#9C3EBA #BA9C3E #3EBA9C
tetradic
#9C3EBA #BA5E3E #5CBA3E #3E9ABA
square
#9C3EBA #BA5E3E #5CBA3E #3E9ABA
split-complementary
#9C3EBA #9ABA3E #3EBA5E
monochromatic
#4F1F5E #762F8C #9C3EBA #B568CD #CB96DC

Accessibility & contrast

On white

5.51
#9C3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9C3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EBA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EBA#FFFFFF#000000##FFFFFF
##9C3EBA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BE
Deuteranopia (green-blind)
#406CB7
Tritanopia (blue-blind)
#9B5577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c3eba;
/* rgb */ color: rgb(156, 62, 186);
/* oklch */ color: oklch(54.5% 0.198 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd7acf',
    500: '#9c3eba',
    950: '#000000',
  },
}
SCSS
$custom: #9c3eba;
$custom-light: #bd7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3eba",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 285.484,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.19759,
    "h": 316.9
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#9C3EBA
secondary
#9BC88C
accent
#DA4E70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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