#9B2FBE#9B2FBE

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

Color values

HEX#9B2FBE
RGBrgb(155, 47, 190)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(18.4%, 75.3%, 0%, 25.5%)
CIE-LABlab(42.34, 63.81, -53.62)
CIE-LCHlch(42.34, 83.35, 319.96°)
OKLaboklab(53.13% 0.158 -0.1511)
OKLCHoklch(53.13% 0.219 316.3)
XYZxyz(23.8269, 12.7203, 49.9054)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FBE #52BE2F
analogous
#542FBE #9B2FBE #BE2F9A
triadic
#9B2FBE #BE9B2F #2FBE9B
tetradic
#9B2FBE #BE542F #52BE2F #2F9ABE
square
#9B2FBE #BE542F #52BE2F #2F9ABE
split-complementary
#9B2FBE #9ABE2F #2FBE54
monochromatic
#4B175C #73238D #9B2FBE #B655D5 #CB86E1

Accessibility & contrast

On white

5.93
#9B2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2FBE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FBE#FFFFFF#000000##FFFFFF
##9B2FBE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2fbe;
/* rgb */ color: rgb(155, 47, 190);
/* oklch */ color: oklch(53.1% 0.219 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9b2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fbe;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fbe",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 285.315,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.21856,
    "h": 316.3
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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