#9B2EBD#9B2EBD

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

Color values

HEX#9B2EBD
RGBrgb(155, 46, 189)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(18%, 75.7%, 0%, 25.9%)
CIE-LABlab(42.15, 63.96, -53.34)
CIE-LCHlch(42.15, 83.28, 320.18°)
OKLaboklab(52.98% 0.159 -0.1502)
OKLCHoklch(52.98% 0.219 316.6)
XYZxyz(23.6785, 12.5977, 49.3186)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EBD #50BD2E
analogous
#532EBD #9B2EBD #BD2E97
triadic
#9B2EBD #BD9B2E #2EBD9B
tetradic
#9B2EBD #BD532E #50BD2E #2E97BD
square
#9B2EBD #BD532E #50BD2E #2E97BD
split-complementary
#9B2EBD #97BD2E #2EBD53
monochromatic
#4A165B #73228C #9B2EBD #B653D5 #CB84E1

Accessibility & contrast

On white

5.97
#9B2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9B2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EBD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EBD#FFFFFF#000000##FFFFFF
##9B2EBD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#994D74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b2ebd;
/* rgb */ color: rgb(155, 46, 189);
/* oklch */ color: oklch(53.0% 0.219 316.6);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9b2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ebd;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ebd",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 285.734,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.21873,
    "h": 316.6
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#9B2EBD
secondary
#8FCA7C
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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