#9A2FC2#9A2FC2

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

Color values

HEX#9A2FC2
RGBrgb(154, 47, 194)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 76%, 76%)
CMYKcmyk(20.6%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.46, 64.40, -55.77)
CIE-LCHlch(42.46, 85.19, 319.11°)
OKLaboklab(53.27% 0.1561 -0.1574)
OKLCHoklch(53.27% 0.222 314.8)
XYZxyz(24.0789, 12.7990, 52.2305)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FC2 #57C22F
analogous
#502FC2 #9A2FC2 #C22FA1
triadic
#9A2FC2 #C29A2F #2FC29A
tetradic
#9A2FC2 #C2502F #57C22F #2FA1C2
square
#9A2FC2 #C2502F #57C22F #2FA1C2
split-complementary
#9A2FC2 #A1C22F #2FC250
monochromatic
#4C175F #732391 #9A2FC2 #B458D6 #CA89E2

Accessibility & contrast

On white

5.90
#9A2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9A2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FC2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FC2#FFFFFF#000000##FFFFFF
##9A2FC21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#965077
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2fc2;
/* rgb */ color: rgb(154, 47, 194);
/* oklch */ color: oklch(53.3% 0.222 314.8);
Tailwind
colors: {
  custom: {
    50: '#bc73d5',
    500: '#9a2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fc2;
$custom-light: #bc73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fc2",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 283.673,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.22171,
    "h": 314.8
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#9A2FC2
secondary
#95CC81
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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