#9A2FCC#9A2FCC

#9A2FCC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.231 H 312.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9A2FCC
RGBrgb(154, 47, 204)
HSLhsl(281, 63%, 49%)
HSVhsv(281, 77%, 80%)
CMYKcmyk(24.5%, 77%, 0%, 20%)
CIE-LABlab(43.16, 66.39, -60.45)
CIE-LCHlch(43.16, 89.79, 317.68°)
OKLaboklab(53.98% 0.1544 -0.1711)
OKLCHoklch(53.98% 0.231 312.1)
XYZxyz(25.2400, 13.2634, 58.3455)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FCC #61CC2F
analogous
#4C2FCC #9A2FCC #CC2FB0
triadic
#9A2FCC #CC9A2F #2FCC9A
tetradic
#9A2FCC #CC4C2F #61CC2F #2FB0CC
square
#9A2FCC #CC4C2F #61CC2F #2FB0CC
split-complementary
#9A2FCC #B0CC2F #2FCC4C
monochromatic
#4F1869 #74249A #9A2FCC #B35EDA #CA90E5

Accessibility & contrast

On white

5.75
#9A2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9A2FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FCC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FCC#FFFFFF#000000##FFFFFF
##9A2FCC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#94557D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a2fcc;
/* rgb */ color: rgb(154, 47, 204);
/* oklch */ color: oklch(54.0% 0.231 312.1);
Tailwind
colors: {
  custom: {
    50: '#bd74dc',
    500: '#9a2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fcc;
$custom-light: #bd74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fcc",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 280.892,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.23053,
    "h": 312.1
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#9A2FCC
secondary
#9ED087
accent
#E64276
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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