#9B2FBC#9B2FBC

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

Color values

HEX#9B2FBC
RGBrgb(155, 47, 188)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(17.6%, 75%, 0%, 26.3%)
CIE-LABlab(42.21, 63.42, -52.66)
CIE-LCHlch(42.21, 82.43, 320.30°)
OKLaboklab(52.99% 0.1582 -0.1482)
OKLCHoklch(52.99% 0.217 316.9)
XYZxyz(23.6098, 12.6334, 48.7620)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FBC #50BC2F
analogous
#542FBC #9B2FBC #BC2F96
triadic
#9B2FBC #BC9B2F #2FBC9B
tetradic
#9B2FBC #BC542F #50BC2F #2F96BC
square
#9B2FBC #BC542F #50BC2F #2F96BC
split-complementary
#9B2FBC #96BC2F #2FBC54
monochromatic
#4A175A #73238B #9B2FBC #B654D4 #CB85E0

Accessibility & contrast

On white

5.96
#9B2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2FBC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FBC#FFFFFF#000000##FFFFFF
##9B2FBC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#994D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b2fbc;
/* rgb */ color: rgb(155, 47, 188);
/* oklch */ color: oklch(53.0% 0.217 316.9);
Tailwind
colors: {
  custom: {
    50: '#bd73d1',
    500: '#9b2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fbc;
$custom-light: #bd73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fbc",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 285.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.21682,
    "h": 316.9
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#9B2FBC
secondary
#8FCA7D
accent
#E3456A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9B2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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