#9A279F#9A279F

#9A279F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9A279F
RGBrgb(154, 39, 159)
HSLhsl(298, 61%, 39%)
HSVhsv(298, 75%, 62%)
CMYKcmyk(3.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(39.29, 60.62, -40.12)
CIE-LCHlch(39.29, 72.70, 326.50°)
OKLaboklab(50.31% 0.1667 -0.1115)
OKLCHoklch(50.31% 0.201 326.2)
XYZxyz(20.3096, 10.8257, 33.8140)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A279F #2C9F27
analogous
#5E279F #9A279F #9F2768
triadic
#9A279F #9F9A27 #279F9A
tetradic
#9A279F #9F5E27 #2C9F27 #27689F
square
#9A279F #9F5E27 #2C9F27 #27689F
split-complementary
#9A279F #689F27 #279F5E
monochromatic
#3B0F3D #6A1B6E #9A279F #C736CE #D567DA

Accessibility & contrast

On white

6.64
#9A279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A279F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A279F#FFFFFF#000000##FFFFFF
##9A279F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#9E3C62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a279f;
/* rgb */ color: rgb(154, 39, 159);
/* oklch */ color: oklch(50.3% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#bb6ebc',
    500: '#9a279f',
    950: '#000000',
  },
}
SCSS
$custom: #9a279f;
$custom-light: #bb6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a279f",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 297.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.20057,
    "h": 326.2
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#9A279F
secondary
#66C062
accent
#E4444B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A279F

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

Preview Lab → · Contrast checker → · Palette generator →

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