#9B2FCC#9B2FCC

#9B2FCC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.231 H 312.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9B2FCC
RGBrgb(155, 47, 204)
HSLhsl(281, 63%, 49%)
HSVhsv(281, 77%, 80%)
CMYKcmyk(24%, 77%, 0%, 20%)
CIE-LABlab(43.30, 66.57, -60.21)
CIE-LCHlch(43.30, 89.76, 317.87°)
OKLaboklab(54.12% 0.1557 -0.1704)
OKLCHoklch(54.12% 0.231 312.4)
XYZxyz(25.4312, 13.3620, 58.3545)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FCC #60CC2F
analogous
#4D2FCC #9B2FCC #CC2FAF
triadic
#9B2FCC #CC9B2F #2FCC9B
tetradic
#9B2FCC #CC4D2F #60CC2F #2FAFCC
square
#9B2FCC #CC4D2F #60CC2F #2FAFCC
split-complementary
#9B2FCC #AFCC2F #2FCC4D
monochromatic
#4F1869 #75249A #9B2FCC #B35EDA #CB90E5

Accessibility & contrast

On white

5.72
#9B2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9B2FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FCC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FCC#FFFFFF#000000##FFFFFF
##9B2FCC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1468C9
Tritanopia (blue-blind)
#95557D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b2fcc;
/* rgb */ color: rgb(155, 47, 204);
/* oklch */ color: oklch(54.1% 0.231 312.4);
Tailwind
colors: {
  custom: {
    50: '#bd74dc',
    500: '#9b2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fcc;
$custom-light: #bd74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fcc",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 281.274,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54117,
    "c": 0.23084,
    "h": 312.4
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#9B2FCC
secondary
#9ED087
accent
#E64275
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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