#9C2FD2#9C2FD2

#9C2FD2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.236 H 311.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9C2FD2
RGBrgb(156, 47, 210)
HSLhsl(280, 64%, 50%)
HSVhsv(280, 78%, 82%)
CMYKcmyk(25.7%, 77.6%, 0%, 17.6%)
CIE-LABlab(43.88, 67.96, -62.73)
CIE-LCHlch(43.88, 92.48, 317.29°)
OKLaboklab(54.69% 0.1558 -0.1778)
OKLCHoklch(54.69% 0.236 311.2)
XYZxyz(26.3575, 13.7548, 62.2267)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FD2 #65D22F
analogous
#4B2FD2 #9C2FD2 #D22FB6
triadic
#9C2FD2 #D29C2F #2FD29C
tetradic
#9C2FD2 #D24B2F #65D22F #2FB6D2
square
#9C2FD2 #D24B2F #65D22F #2FB6D2
split-complementary
#9C2FD2 #B6D22F #2FD24B
monochromatic
#52186F #7723A1 #9C2FD2 #B461DD #CC94E8

Accessibility & contrast

On white

5.60
#9C2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9C2FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FD2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FD2#FFFFFF#000000##FFFFFF
##9C2FD21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#955780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c2fd2;
/* rgb */ color: rgb(156, 47, 210);
/* oklch */ color: oklch(54.7% 0.236 311.2);
Tailwind
colors: {
  custom: {
    50: '#be74e1',
    500: '#9c2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fd2;
$custom-light: #be74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fd2",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 280.123,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.23642,
    "h": 311.2
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#9C2FD2
secondary
#A2D38A
accent
#E74078
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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