#A0308E#A0308E

#A0308E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.180 H 335.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A0308E
RGBrgb(160, 48, 142)
HSLhsl(310, 54%, 41%)
HSVhsv(310, 70%, 63%)
CMYKcmyk(0%, 70%, 11.2%, 37.3%)
CIE-LABlab(40.48, 56.10, -27.86)
CIE-LCHlch(40.48, 62.64, 333.59°)
OKLaboklab(51.06% 0.1635 -0.076)
OKLCHoklch(51.06% 0.18 335.1)
XYZxyz(20.4369, 11.5422, 26.7375)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0308E #30A042
analogous
#7A30A0 #A0308E #A03056
triadic
#A0308E #8EA030 #308EA0
tetradic
#A0308E #A07A30 #30A042 #3056A0
square
#A0308E #A07A30 #30A042 #3056A0
split-complementary
#A0308E #56A030 #30A07A
monochromatic
#42143A #712264 #A0308E #C746B3 #D675C6

Accessibility & contrast

On white

6.35
#A0308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A0308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0308E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0308E#FFFFFF#000000##FFFFFF
##A0308E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#A8385B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a0308e;
/* rgb */ color: rgb(160, 48, 142);
/* oklch */ color: oklch(51.1% 0.180 335.1);
Tailwind
colors: {
  custom: {
    50: '#bf72af',
    500: '#a0308e',
    950: '#000000',
  },
}
SCSS
$custom: #a0308e;
$custom-light: #bf72af;
$custom-dark: #000000;
JSON
{
  "hex": "#a0308e",
  "rgb": {
    "r": 160,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 309.643,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.18031,
    "h": 335.1
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#A0308E
secondary
#6EBE7B
accent
#DD624B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0308E

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

Preview Lab → · Contrast checker → · Palette generator →

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