#9A2FB1#9A2FB1

#9A2FB1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.207 H 319.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB1
RGBrgb(154, 47, 177)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 73%, 69%)
CMYKcmyk(13%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.34, 61.12, -47.58)
CIE-LCHlch(41.34, 77.46, 322.10°)
OKLaboklab(52.12% 0.1582 -0.1334)
OKLCHoklch(52.12% 0.207 319.9)
XYZxyz(22.2778, 12.0785, 42.7444)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB1 #46B12F
analogous
#592FB1 #9A2FB1 #B12F87
triadic
#9A2FB1 #B19A2F #2FB19A
tetradic
#9A2FB1 #B1592F #46B12F #2F87B1
square
#9A2FB1 #B1592F #46B12F #2F87B1
split-complementary
#9A2FB1 #87B12F #2FB159
monochromatic
#461550 #702281 #9A2FB1 #B94DD0 #CC7EDD

Accessibility & contrast

On white

6.15
#9A2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB1#FFFFFF#000000##FFFFFF
##9A2FB11.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#9A496E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2fb1;
/* rgb */ color: rgb(154, 47, 177);
/* oklch */ color: oklch(52.1% 0.207 319.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c9',
    500: '#9a2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb1;
$custom-light: #bc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb1",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 289.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.2069,
    "h": 319.9
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#9A2FB1
secondary
#84C576
accent
#E14762
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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