#9A278D#9A278D

#9A278D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.187 H 333.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9A278D
RGBrgb(154, 39, 141)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 60%)
CMYKcmyk(0%, 74.7%, 8.4%, 39.6%)
CIE-LABlab(38.28, 57.67, -30.78)
CIE-LCHlch(38.28, 65.37, 331.91°)
OKLaboklab(49.26% 0.1665 -0.0845)
OKLCHoklch(49.26% 0.187 333.1)
XYZxyz(18.8598, 10.2457, 26.1785)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A278D #279A34
analogous
#6E279A #9A278D #9A2753
triadic
#9A278D #8D9A27 #278D9A
tetradic
#9A278D #9A6E27 #279A34 #27539A
square
#9A278D #9A6E27 #279A34 #27539A
split-complementary
#9A278D #539A27 #279A6E
monochromatic
#380E34 #691B60 #9A278D #CB33BA #D864CB

Accessibility & contrast

On white

6.89
#9A278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A278D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A278D#FFFFFF#000000##FFFFFF
##9A278D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A13358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a278d;
/* rgb */ color: rgb(154, 39, 141);
/* oklch */ color: oklch(49.3% 0.187 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6dae',
    500: '#9a278d',
    950: '#000000',
  },
}
SCSS
$custom: #9a278d;
$custom-light: #bb6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a278d",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 306.783,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.18669,
    "h": 333.1
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#9A278D
secondary
#5FBD6A
accent
#E35745
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A278D

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

Preview Lab → · Contrast checker → · Palette generator →

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