#9A2FC3#9A2FC3

#9A2FC3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.223 H 314.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9A2FC3
RGBrgb(154, 47, 195)
HSLhsl(283, 61%, 47%)
HSVhsv(283, 76%, 76%)
CMYKcmyk(21%, 75.9%, 0%, 23.5%)
CIE-LABlab(42.53, 64.60, -56.24)
CIE-LCHlch(42.53, 85.65, 318.95°)
OKLaboklab(53.34% 0.156 -0.1588)
OKLCHoklch(53.34% 0.223 314.5)
XYZxyz(24.1916, 12.8440, 52.8240)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FC3 #58C32F
analogous
#502FC3 #9A2FC3 #C32FA2
triadic
#9A2FC3 #C39A2F #2FC39A
tetradic
#9A2FC3 #C3502F #58C32F #2FA2C3
square
#9A2FC3 #C3502F #58C32F #2FA2C3
split-complementary
#9A2FC3 #A2C32F #2FC350
monochromatic
#4C1760 #732392 #9A2FC3 #B458D7 #CA8AE3

Accessibility & contrast

On white

5.88
#9A2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9A2FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FC3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FC3#FFFFFF#000000##FFFFFF
##9A2FC31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#965178
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2fc3;
/* rgb */ color: rgb(154, 47, 195);
/* oklch */ color: oklch(53.3% 0.223 314.5);
Tailwind
colors: {
  custom: {
    50: '#bc73d6',
    500: '#9a2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fc3;
$custom-light: #bc73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fc3",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 283.378,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.22259,
    "h": 314.5
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#9A2FC3
secondary
#96CD81
accent
#E44470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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