#9A2F93#9A2F93

#9A2F93 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.182 H 330.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9A2F93
RGBrgb(154, 47, 147)
HSLhsl(304, 53%, 39%)
HSVhsv(304, 69%, 60%)
CMYKcmyk(0%, 69.5%, 4.5%, 39.6%)
CIE-LABlab(39.60, 55.79, -32.36)
CIE-LCHlch(39.60, 64.50, 329.89°)
OKLaboklab(50.31% 0.1586 -0.0891)
OKLCHoklch(50.31% 0.182 330.7)
XYZxyz(19.6093, 11.0111, 28.6907)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F93 #2F9A36
analogous
#6C2F9A #9A2F93 #9A2F5E
triadic
#9A2F93 #939A2F #2F939A
tetradic
#9A2F93 #9A6C2F #2F9A36 #2F5E9A
square
#9A2F93 #9A6C2F #2F9A36 #2F5E9A
split-complementary
#9A2F93 #5E9A2F #2F9A6C
monochromatic
#3C1239 #6B2166 #9A2F93 #C541BC #D370CD

Accessibility & contrast

On white

6.56
#9A2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9A2F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F93
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F93#FFFFFF#000000##FFFFFF
##9A2F931.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#4E6390
Tritanopia (blue-blind)
#A03B5D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2f93;
/* rgb */ color: rgb(154, 47, 147);
/* oklch */ color: oklch(50.3% 0.182 330.7);
Tailwind
colors: {
  custom: {
    50: '#bb71b3',
    500: '#9a2f93',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f93;
$custom-light: #bb71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f93",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 303.925,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.1819,
    "h": 330.7
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#9A2F93
secondary
#6ABB6F
accent
#DD554B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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