#9B2EBF#9B2EBF

#9B2EBF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.220 H 316.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B2EBF
RGBrgb(155, 46, 191)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(18.8%, 75.9%, 0%, 25.1%)
CIE-LABlab(42.28, 64.35, -54.29)
CIE-LCHlch(42.28, 84.19, 319.85°)
OKLaboklab(53.11% 0.1587 -0.153)
OKLCHoklch(53.11% 0.22 316)
XYZxyz(23.8971, 12.6851, 50.4698)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EBF #52BF2E
analogous
#522EBF #9B2EBF #BF2E9B
triadic
#9B2EBF #BF9B2E #2EBF9B
tetradic
#9B2EBF #BF522E #52BF2E #2E9BBF
square
#9B2EBF #BF522E #52BF2E #2E9BBF
split-complementary
#9B2EBF #9BBF2E #2EBF52
monochromatic
#4B165C #73228E #9B2EBF #B654D6 #CB86E2

Accessibility & contrast

On white

5.94
#9B2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EBF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EBF#FFFFFF#000000##FFFFFF
##9B2EBF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2ebf;
/* rgb */ color: rgb(155, 46, 191);
/* oklch */ color: oklch(53.1% 0.220 316.0);
Tailwind
colors: {
  custom: {
    50: '#bd73d3',
    500: '#9b2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ebf;
$custom-light: #bd73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ebf",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 285.103,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.22046,
    "h": 316
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#9B2EBF
secondary
#91CB7E
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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