#9B2FC3#9B2FC3

#9B2FC3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.223 H 314.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B2FC3
RGBrgb(155, 47, 195)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20.5%, 75.9%, 0%, 23.5%)
CIE-LABlab(42.68, 64.78, -55.99)
CIE-LCHlch(42.68, 85.63, 319.16°)
OKLaboklab(53.48% 0.1572 -0.158)
OKLCHoklch(53.48% 0.223 314.9)
XYZxyz(24.3828, 12.9426, 52.8330)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FC3 #57C32F
analogous
#512FC3 #9B2FC3 #C32FA1
triadic
#9B2FC3 #C39B2F #2FC39B
tetradic
#9B2FC3 #C3512F #57C32F #2FA1C3
square
#9B2FC3 #C3512F #57C32F #2FA1C3
split-complementary
#9B2FC3 #A1C32F #2FC351
monochromatic
#4D1760 #742392 #9B2FC3 #B558D7 #CB8AE3

Accessibility & contrast

On white

5.85
#9B2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B2FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FC3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FC3#FFFFFF#000000##FFFFFF
##9B2FC31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#985178
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2fc3;
/* rgb */ color: rgb(155, 47, 195);
/* oklch */ color: oklch(53.5% 0.223 314.9);
Tailwind
colors: {
  custom: {
    50: '#bd73d6',
    500: '#9b2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fc3;
$custom-light: #bd73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fc3",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 283.784,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.22293,
    "h": 314.9
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#9B2FC3
secondary
#96CD81
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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