#9A2F91#9A2F91

#9A2F91 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 331.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9A2F91
RGBrgb(154, 47, 145)
HSLhsl(305, 53%, 39%)
HSVhsv(305, 69%, 60%)
CMYKcmyk(0%, 69.5%, 5.8%, 39.6%)
CIE-LABlab(39.49, 55.46, -31.31)
CIE-LCHlch(39.49, 63.69, 330.56°)
OKLaboklab(50.2% 0.1585 -0.086)
OKLCHoklch(50.2% 0.18 331.5)
XYZxyz(19.4538, 10.9489, 27.8713)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F91 #2F9A38
analogous
#6E2F9A #9A2F91 #9A2F5C
triadic
#9A2F91 #919A2F #2F919A
tetradic
#9A2F91 #9A6E2F #2F9A38 #2F5C9A
square
#9A2F91 #9A6E2F #2F9A38 #2F5C9A
split-complementary
#9A2F91 #5C9A2F #2F9A6E
monochromatic
#3C1239 #6B2165 #9A2F91 #C541BA #D370CB

Accessibility & contrast

On white

6.58
#9A2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9A2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F91
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F91#FFFFFF#000000##FFFFFF
##9A2F911.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#A03A5C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2f91;
/* rgb */ color: rgb(154, 47, 145);
/* oklch */ color: oklch(50.2% 0.180 331.5);
Tailwind
colors: {
  custom: {
    50: '#bb71b1',
    500: '#9a2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f91;
$custom-light: #bb71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f91",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 305.047,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.18032,
    "h": 331.5
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#9A2F91
secondary
#6ABB71
accent
#DD574B
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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