#9A2FC1#9A2FC1

#9A2FC1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.221 H 315.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9A2FC1
RGBrgb(154, 47, 193)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20.2%, 75.6%, 0%, 24.3%)
CIE-LABlab(42.39, 64.20, -55.30)
CIE-LCHlch(42.39, 84.73, 319.26°)
OKLaboklab(53.2% 0.1563 -0.156)
OKLCHoklch(53.2% 0.221 315.1)
XYZxyz(23.9670, 12.7542, 51.6411)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FC1 #56C12F
analogous
#512FC1 #9A2FC1 #C12F9F
triadic
#9A2FC1 #C19A2F #2FC19A
tetradic
#9A2FC1 #C1512F #56C12F #2F9FC1
square
#9A2FC1 #C1512F #56C12F #2F9FC1
split-complementary
#9A2FC1 #9FC12F #2FC151
monochromatic
#4B175F #732390 #9A2FC1 #B457D6 #CA88E2

Accessibility & contrast

On white

5.91
#9A2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9A2FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FC1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FC1#FFFFFF#000000##FFFFFF
##9A2FC11.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2867BE
Tritanopia (blue-blind)
#975077
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2fc1;
/* rgb */ color: rgb(154, 47, 193);
/* oklch */ color: oklch(53.2% 0.221 315.1);
Tailwind
colors: {
  custom: {
    50: '#bc73d4',
    500: '#9a2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fc1;
$custom-light: #bc73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fc1",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 283.973,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.22083,
    "h": 315.1
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#9A2FC1
secondary
#94CC80
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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