#9B2EC0#9B2EC0

#9B2EC0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.221 H 315.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9B2EC0
RGBrgb(155, 46, 192)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(19.3%, 76%, 0%, 24.7%)
CIE-LABlab(42.35, 64.54, -54.77)
CIE-LCHlch(42.35, 84.65, 319.68°)
OKLaboklab(53.18% 0.1586 -0.1544)
OKLCHoklch(53.18% 0.221 315.8)
XYZxyz(24.0075, 12.7293, 51.0513)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EC0 #53C02E
analogous
#522EC0 #9B2EC0 #C02E9C
triadic
#9B2EC0 #C09B2E #2EC09B
tetradic
#9B2EC0 #C0522E #53C02E #2E9CC0
square
#9B2EC0 #C0522E #53C02E #2E9CC0
split-complementary
#9B2EC0 #9CC02E #2EC052
monochromatic
#4B165D #73228F #9B2EC0 #B555D6 #CB86E2

Accessibility & contrast

On white

5.92
#9B2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2EC0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EC0#FFFFFF#000000##FFFFFF
##9B2EC01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#984F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2ec0;
/* rgb */ color: rgb(155, 46, 192);
/* oklch */ color: oklch(53.2% 0.221 315.8);
Tailwind
colors: {
  custom: {
    50: '#bd73d4',
    500: '#9b2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ec0;
$custom-light: #bd73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ec0",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 284.795,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.22133,
    "h": 315.8
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#9B2EC0
secondary
#92CC7E
accent
#E4436C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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