#9C2FC2#9C2FC2

#9C2FC2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.222 H 315.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9C2FC2
RGBrgb(156, 47, 194)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(19.6%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.76, 64.78, -55.27)
CIE-LCHlch(42.76, 85.15, 319.53°)
OKLaboklab(53.54% 0.1586 -0.1559)
OKLCHoklch(53.54% 0.222 315.5)
XYZxyz(24.4629, 12.9969, 52.2485)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FC2 #55C22F
analogous
#532FC2 #9C2FC2 #C22F9E
triadic
#9C2FC2 #C29C2F #2FC29C
tetradic
#9C2FC2 #C2532F #55C22F #2F9EC2
square
#9C2FC2 #C2532F #55C22F #2F9EC2
split-complementary
#9C2FC2 #9EC22F #2FC253
monochromatic
#4D175F #742391 #9C2FC2 #B658D6 #CB89E2

Accessibility & contrast

On white

5.83
#9C2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9C2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FC2#FFFFFF#000000##FFFFFF
##9C2FC21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#995077
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c2fc2;
/* rgb */ color: rgb(156, 47, 194);
/* oklch */ color: oklch(53.5% 0.222 315.5);
Tailwind
colors: {
  custom: {
    50: '#be73d5',
    500: '#9c2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fc2;
$custom-light: #be73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fc2",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 284.49,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.22239,
    "h": 315.5
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#9C2FC2
secondary
#94CC81
accent
#E4446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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