#9C2FC7#9C2FC7

#9C2FC7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.227 H 314.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9C2FC7
RGBrgb(156, 47, 199)
HSLhsl(283, 62%, 48%)
HSVhsv(283, 76%, 78%)
CMYKcmyk(21.6%, 76.4%, 0%, 22%)
CIE-LABlab(43.10, 65.76, -57.63)
CIE-LCHlch(43.10, 87.44, 318.77°)
OKLaboklab(53.89% 0.1579 -0.1628)
OKLCHoklch(53.89% 0.227 314.1)
XYZxyz(25.0339, 13.2253, 55.2558)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FC7 #5AC72F
analogous
#502FC7 #9C2FC7 #C72FA6
triadic
#9C2FC7 #C79C2F #2FC79C
tetradic
#9C2FC7 #C7502F #5AC72F #2FA6C7
square
#9C2FC7 #C7502F #5AC72F #2FA6C7
split-complementary
#9C2FC7 #A6C72F #2FC750
monochromatic
#4E1864 #752395 #9C2FC7 #B55BD8 #CB8CE4

Accessibility & contrast

On white

5.76
#9C2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9C2FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FC7#FFFFFF#000000##FFFFFF
##9C2FC71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#98527A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c2fc7;
/* rgb */ color: rgb(156, 47, 199);
/* oklch */ color: oklch(53.9% 0.227 314.1);
Tailwind
colors: {
  custom: {
    50: '#be74d9',
    500: '#9c2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fc7;
$custom-light: #be74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fc7",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 283.026,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.22676,
    "h": 314.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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