#9B2EBC#9B2EBC

#9B2EBC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.218 H 316.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B2EBC
RGBrgb(155, 46, 188)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(17.6%, 75.5%, 0%, 26.3%)
CIE-LABlab(42.08, 63.77, -52.86)
CIE-LCHlch(42.08, 82.83, 320.35°)
OKLaboklab(52.91% 0.1591 -0.1488)
OKLCHoklch(52.91% 0.218 316.9)
XYZxyz(23.5703, 12.5544, 48.7489)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EBC #4FBC2E
analogous
#542EBC #9B2EBC #BC2E96
triadic
#9B2EBC #BC9B2E #2EBC9B
tetradic
#9B2EBC #BC542E #4FBC2E #2E96BC
square
#9B2EBC #BC542E #4FBC2E #2E96BC
split-complementary
#9B2EBC #96BC2E #2EBC54
monochromatic
#4A165A #72228B #9B2EBC #B652D5 #CB84E1

Accessibility & contrast

On white

5.98
#9B2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9B2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EBC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EBC#FFFFFF#000000##FFFFFF
##9B2EBC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#994D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2ebc;
/* rgb */ color: rgb(155, 46, 188);
/* oklch */ color: oklch(52.9% 0.218 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd72d1',
    500: '#9b2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ebc;
$custom-light: #bd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ebc",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 286.056,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.21786,
    "h": 316.9
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#9B2EBC
secondary
#8ECA7C
accent
#E44469
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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