#9B2FBF#9B2FBF

#9B2FBF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.219 H 316.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9B2FBF
RGBrgb(155, 47, 191)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 75%, 75%)
CMYKcmyk(18.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(42.41, 64.00, -54.10)
CIE-LCHlch(42.41, 83.80, 319.79°)
OKLaboklab(53.2% 0.1578 -0.1525)
OKLCHoklch(53.2% 0.219 316)
XYZxyz(23.9366, 12.7641, 50.4830)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FBF #53BF2F
analogous
#532FBF #9B2FBF #BF2F9B
triadic
#9B2FBF #BF9B2F #2FBF9B
tetradic
#9B2FBF #BF532F #53BF2F #2F9BBF
square
#9B2FBF #BF532F #53BF2F #2F9BBF
split-complementary
#9B2FBF #9BBF2F #2FBF53
monochromatic
#4B175D #73238E #9B2FBF #B556D5 #CB87E1

Accessibility & contrast

On white

5.91
#9B2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9B2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FBF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FBF#FFFFFF#000000##FFFFFF
##9B2FBF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#984F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2fbf;
/* rgb */ color: rgb(155, 47, 191);
/* oklch */ color: oklch(53.2% 0.219 316.0);
Tailwind
colors: {
  custom: {
    50: '#bd73d3',
    500: '#9b2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fbf;
$custom-light: #bd73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fbf",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 285,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.21943,
    "h": 316
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#9B2FBF
secondary
#92CB7F
accent
#E4446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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