#9C2FA2#9C2FA2

#9C2FA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.195 H 325.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9C2FA2
RGBrgb(156, 47, 162)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3.7%, 71%, 0%, 36.5%)
CIE-LABlab(40.75, 58.83, -39.57)
CIE-LCHlch(40.75, 70.90, 326.08°)
OKLaboklab(51.48% 0.1612 -0.1099)
OKLCHoklch(51.48% 0.195 325.7)
XYZxyz(21.2480, 11.7110, 35.3167)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FA2 #35A22F
analogous
#622FA2 #9C2FA2 #A22F6E
triadic
#9C2FA2 #A29C2F #2FA29C
tetradic
#9C2FA2 #A2622F #35A22F #2F6EA2
square
#9C2FA2 #A2622F #35A22F #2F6EA2
split-complementary
#9C2FA2 #6EA22F #2FA262
monochromatic
#411343 #6E2173 #9C2FA2 #C245C9 #D275D7

Accessibility & contrast

On white

6.28
#9C2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9C2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FA2#FFFFFF#000000##FFFFFF
##9C2FA21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A04265
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2fa2;
/* rgb */ color: rgb(156, 47, 162);
/* oklch */ color: oklch(51.5% 0.195 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd72be',
    500: '#9c2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fa2;
$custom-light: #bd72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fa2",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 296.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.19512,
    "h": 325.7
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#9C2FA2
secondary
#72BF6E
accent
#DE4951
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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