#9B2FC7#9B2FC7

#9B2FC7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.226 H 313.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B2FC7
RGBrgb(155, 47, 199)
HSLhsl(283, 62%, 48%)
HSVhsv(283, 76%, 78%)
CMYKcmyk(22.1%, 76.4%, 0%, 22%)
CIE-LABlab(42.95, 65.57, -57.88)
CIE-LCHlch(42.95, 87.46, 318.57°)
OKLaboklab(53.76% 0.1566 -0.1636)
OKLCHoklch(53.76% 0.226 313.8)
XYZxyz(24.8411, 13.1259, 55.2468)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FC7 #5BC72F
analogous
#4F2FC7 #9B2FC7 #C72FA7
triadic
#9B2FC7 #C79B2F #2FC79B
tetradic
#9B2FC7 #C74F2F #5BC72F #2FA7C7
square
#9B2FC7 #C74F2F #5BC72F #2FA7C7
split-complementary
#9B2FC7 #A7C72F #2FC74F
monochromatic
#4E1864 #742395 #9B2FC7 #B45BD8 #CB8CE4

Accessibility & contrast

On white

5.79
#9B2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9B2FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FC7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FC7#FFFFFF#000000##FFFFFF
##9B2FC71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#97527A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2fc7;
/* rgb */ color: rgb(155, 47, 199);
/* oklch */ color: oklch(53.8% 0.226 313.8);
Tailwind
colors: {
  custom: {
    50: '#bd73d9',
    500: '#9b2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fc7;
$custom-light: #bd73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fc7",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 282.632,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.22644,
    "h": 313.8
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#9B2FC7
secondary
#99CE84
accent
#E54372
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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