#9A279E#9A279E

#9A279E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.200 H 326.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9A279E
RGBrgb(154, 39, 158)
HSLhsl(298, 60%, 39%)
HSVhsv(298, 75%, 62%)
CMYKcmyk(2.5%, 75.3%, 0%, 38%)
CIE-LABlab(39.23, 60.45, -39.61)
CIE-LCHlch(39.23, 72.27, 326.77°)
OKLaboklab(50.25% 0.1667 -0.1101)
OKLCHoklch(50.25% 0.2 326.6)
XYZxyz(20.2231, 10.7911, 33.3589)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A279E #2B9E27
analogous
#5E279E #9A279E #9E2766
triadic
#9A279E #9E9A27 #279E9A
tetradic
#9A279E #9E5E27 #2B9E27 #27669E
square
#9A279E #9E5E27 #2B9E27 #27669E
split-complementary
#9A279E #669E27 #279E5E
monochromatic
#3A0F3C #6A1B6D #9A279E #C835CD #D566D9

Accessibility & contrast

On white

6.65
#9A279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9A279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A279E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A279E#FFFFFF#000000##FFFFFF
##9A279E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0253A1
Deuteranopia (green-blind)
#44619B
Tritanopia (blue-blind)
#9E3B61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a279e;
/* rgb */ color: rgb(154, 39, 158);
/* oklch */ color: oklch(50.2% 0.200 326.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ebb',
    500: '#9a279e',
    950: '#000000',
  },
}
SCSS
$custom: #9a279e;
$custom-light: #bb6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a279e",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 297.983,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.19977,
    "h": 326.6
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#9A279E
secondary
#65BF62
accent
#E4444A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A279E

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

Preview Lab → · Contrast checker → · Palette generator →

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