#9B2FC2#9B2FC2

#9B2FC2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.222 H 315.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2FC2
RGBrgb(155, 47, 194)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20.1%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.61, 64.59, -55.52)
CIE-LCHlch(42.61, 85.17, 319.32°)
OKLaboklab(53.41% 0.1574 -0.1566)
OKLCHoklch(53.41% 0.222 315.1)
XYZxyz(24.2701, 12.8975, 52.2395)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FC2 #56C22F
analogous
#522FC2 #9B2FC2 #C22F9F
triadic
#9B2FC2 #C29B2F #2FC29B
tetradic
#9B2FC2 #C2522F #56C22F #2F9FC2
square
#9B2FC2 #C2522F #56C22F #2F9FC2
split-complementary
#9B2FC2 #9FC22F #2FC252
monochromatic
#4C175F #742391 #9B2FC2 #B558D6 #CB89E2

Accessibility & contrast

On white

5.87
#9B2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FC2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FC2#FFFFFF#000000##FFFFFF
##9B2FC21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#985077
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b2fc2;
/* rgb */ color: rgb(155, 47, 194);
/* oklch */ color: oklch(53.4% 0.222 315.1);
Tailwind
colors: {
  custom: {
    50: '#bd73d5',
    500: '#9b2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fc2;
$custom-light: #bd73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fc2",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 284.082,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.22205,
    "h": 315.1
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#9B2FC2
secondary
#95CC81
accent
#E4446E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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