#9A2F8D#9A2F8D

#9A2F8D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 333.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9A2F8D
RGBrgb(154, 47, 141)
HSLhsl(307, 53%, 39%)
HSVhsv(307, 69%, 60%)
CMYKcmyk(0%, 69.5%, 8.4%, 39.6%)
CIE-LABlab(39.29, 54.81, -29.19)
CIE-LCHlch(39.29, 62.10, 331.96°)
OKLaboklab(49.99% 0.1581 -0.08)
OKLCHoklch(49.99% 0.177 333.2)
XYZxyz(19.1507, 10.8277, 26.2755)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F8D #2F9A3C
analogous
#722F9A #9A2F8D #9A2F57
triadic
#9A2F8D #8D9A2F #2F8D9A
tetradic
#9A2F8D #9A722F #2F9A3C #2F579A
square
#9A2F8D #9A722F #2F9A3C #2F579A
split-complementary
#9A2F8D #579A2F #2F9A72
monochromatic
#3C1237 #6B2162 #9A2F8D #C541B5 #D370C7

Accessibility & contrast

On white

6.63
#9A2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9A2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F8D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F8D#FFFFFF#000000##FFFFFF
##9A2F8D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A1395A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2f8d;
/* rgb */ color: rgb(154, 47, 141);
/* oklch */ color: oklch(50.0% 0.177 333.2);
Tailwind
colors: {
  custom: {
    50: '#bb71ae',
    500: '#9a2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f8d;
$custom-light: #bb71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f8d",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 307.29,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.17721,
    "h": 333.2
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#9A2F8D
secondary
#6ABB74
accent
#DD5D4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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