#A0278E#A0278E

#A0278E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.191 H 334.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A0278E
RGBrgb(160, 39, 142)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 75.6%, 11.2%, 37.3%)
CIE-LABlab(39.38, 59.22, -29.59)
CIE-LCHlch(39.38, 66.21, 333.45°)
OKLaboklab(50.27% 0.1727 -0.0809)
OKLCHoklch(50.27% 0.191 334.9)
XYZxyz(20.1055, 10.8794, 26.6270)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0278E #27A039
analogous
#7627A0 #A0278E #A02752
triadic
#A0278E #8EA027 #278EA0
tetradic
#A0278E #A07627 #27A039 #2752A0
square
#A0278E #A07627 #27A039 #2752A0
split-complementary
#A0278E #52A027 #27A076
monochromatic
#3E0F37 #6F1B62 #A0278E #CE36B7 #DA67C9

Accessibility & contrast

On white

6.61
#A0278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A0278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0278E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0278E#FFFFFF#000000##FFFFFF
##A0278E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A83158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0278e;
/* rgb */ color: rgb(160, 39, 142);
/* oklch */ color: oklch(50.3% 0.191 334.9);
Tailwind
colors: {
  custom: {
    50: '#c06eaf',
    500: '#a0278e',
    950: '#000000',
  },
}
SCSS
$custom: #a0278e;
$custom-light: #c06eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0278e",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 308.926,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.19074,
    "h": 334.9
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#A0278E
secondary
#63C071
accent
#E45C44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0278E

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

Preview Lab → · Contrast checker → · Palette generator →

#A0278E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva