#9B2EC8#9B2EC8

#9B2EC8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.228 H 313.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9B2EC8
RGBrgb(155, 46, 200)
HSLhsl(282, 63%, 48%)
HSVhsv(282, 77%, 78%)
CMYKcmyk(22.5%, 77%, 0%, 21.6%)
CIE-LABlab(42.90, 66.11, -58.54)
CIE-LCHlch(42.90, 88.30, 318.48°)
OKLaboklab(53.75% 0.1573 -0.1655)
OKLCHoklch(53.75% 0.228 313.5)
XYZxyz(24.9181, 13.0935, 55.8471)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EC8 #5BC82E
analogous
#4E2EC8 #9B2EC8 #C82EA8
triadic
#9B2EC8 #C89B2E #2EC89B
tetradic
#9B2EC8 #C84E2E #5BC82E #2EA8C8
square
#9B2EC8 #C84E2E #5BC82E #2EA8C8
split-complementary
#9B2EC8 #A8C82E #2EC84E
monochromatic
#4E1764 #742396 #9B2EC8 #B45AD9 #CB8CE5

Accessibility & contrast

On white

5.80
#9B2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9B2EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EC8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EC8#FFFFFF#000000##FFFFFF
##9B2EC81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#96527A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2ec8;
/* rgb */ color: rgb(155, 46, 200);
/* oklch */ color: oklch(53.7% 0.228 313.5);
Tailwind
colors: {
  custom: {
    50: '#bd73da',
    500: '#9b2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ec8;
$custom-light: #bd73da;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ec8",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 282.468,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53746,
    "c": 0.2283,
    "h": 313.5
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

primary
#9B2EC8
secondary
#99CF83
accent
#E64272
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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