#9B2EC3#9B2EC3

#9B2EC3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.224 H 314.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9B2EC3
RGBrgb(155, 46, 195)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20.5%, 76.4%, 0%, 23.5%)
CIE-LABlab(42.56, 65.13, -56.19)
CIE-LCHlch(42.56, 86.02, 319.21°)
OKLaboklab(53.39% 0.1581 -0.1586)
OKLCHoklch(53.39% 0.224 314.9)
XYZxyz(24.3433, 12.8636, 52.8198)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EC3 #56C32E
analogous
#512EC3 #9B2EC3 #C32EA0
triadic
#9B2EC3 #C39B2E #2EC39B
tetradic
#9B2EC3 #C3512E #56C32E #2EA0C3
square
#9B2EC3 #C3512E #56C32E #2EA0C3
split-complementary
#9B2EC3 #A0C32E #2EC351
monochromatic
#4C1760 #742291 #9B2EC3 #B557D7 #CB88E3

Accessibility & contrast

On white

5.88
#9B2EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9B2EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EC3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EC3#FFFFFF#000000##FFFFFF
##9B2EC31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#985078
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2ec3;
/* rgb */ color: rgb(155, 46, 195);
/* oklch */ color: oklch(53.4% 0.224 314.9);
Tailwind
colors: {
  custom: {
    50: '#bd73d6',
    500: '#9b2ec3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ec3;
$custom-light: #bd73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ec3",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 283.893,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.22393,
    "h": 314.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#9B2EC3
secondary
#95CD80
accent
#E5436E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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