#9B2EBE#9B2EBE

#9B2EBE is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 316.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9B2EBE
RGBrgb(155, 46, 190)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.4%, 75.8%, 0%, 25.5%)
CIE-LABlab(42.22, 64.16, -53.81)
CIE-LCHlch(42.22, 83.74, 320.01°)
OKLaboklab(53.04% 0.1588 -0.1516)
OKLCHoklch(53.04% 0.22 316.3)
XYZxyz(23.7874, 12.6412, 49.8922)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EBE #51BE2E
analogous
#532EBE #9B2EBE #BE2E99
triadic
#9B2EBE #BE9B2E #2EBE9B
tetradic
#9B2EBE #BE532E #51BE2E #2E99BE
square
#9B2EBE #BE532E #51BE2E #2E99BE
split-complementary
#9B2EBE #99BE2E #2EBE53
monochromatic
#4B165B #73228D #9B2EBE #B654D6 #CB85E1

Accessibility & contrast

On white

5.95
#9B2EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9B2EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EBE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EBE#FFFFFF#000000##FFFFFF
##9B2EBE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#994E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2ebe;
/* rgb */ color: rgb(155, 46, 190);
/* oklch */ color: oklch(53.0% 0.220 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9b2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ebe;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ebe",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 285.417,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.21959,
    "h": 316.3
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#9B2EBE
secondary
#90CB7D
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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