#9B2EC1#9B2EC1

#9B2EC1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.222 H 315.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9B2EC1
RGBrgb(155, 46, 193)
HSLhsl(284, 62%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(19.7%, 76.2%, 0%, 24.3%)
CIE-LABlab(42.42, 64.74, -55.24)
CIE-LCHlch(42.42, 85.10, 319.53°)
OKLaboklab(53.25% 0.1584 -0.1558)
OKLCHoklch(53.25% 0.222 315.5)
XYZxyz(24.1187, 12.7737, 51.6368)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EC1 #54C12E
analogous
#522EC1 #9B2EC1 #C12E9E
triadic
#9B2EC1 #C19B2E #2EC19B
tetradic
#9B2EC1 #C1522E #54C12E #2E9EC1
square
#9B2EC1 #C1522E #54C12E #2E9EC1
split-complementary
#9B2EC1 #9EC12E #2EC152
monochromatic
#4C165E #732290 #9B2EC1 #B556D7 #CB87E2

Accessibility & contrast

On white

5.91
#9B2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9B2EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EC1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EC1#FFFFFF#000000##FFFFFF
##9B2EC11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2967BE
Tritanopia (blue-blind)
#984F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2ec1;
/* rgb */ color: rgb(155, 46, 193);
/* oklch */ color: oklch(53.3% 0.222 315.5);
Tailwind
colors: {
  custom: {
    50: '#bd73d4',
    500: '#9b2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ec1;
$custom-light: #bd73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ec1",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 284.49,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.22219,
    "h": 315.5
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#9B2EC1
secondary
#93CC7F
accent
#E5436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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