#A742A5#A742A5

#A742A5 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.178 H 328.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A742A5
RGBrgb(167, 66, 165)
HSLhsl(301, 43%, 46%)
HSVhsv(301, 60%, 65%)
CMYKcmyk(0%, 60.5%, 1.2%, 34.5%)
CIE-LABlab(45.40, 54.31, -33.89)
CIE-LCHlch(45.40, 64.02, 328.03°)
OKLaboklab(55.23% 0.152 -0.0934)
OKLCHoklch(55.23% 0.178 328.4)
XYZxyz(24.6758, 14.8301, 37.1528)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742A5 #42A744
analogous
#7642A7 #A742A5 #A74272
triadic
#A742A5 #A5A742 #42A5A7
tetradic
#A742A5 #A77642 #42A744 #4272A7
square
#A742A5 #A77642 #42A744 #4272A7
split-complementary
#A742A5 #72A742 #42A776
monochromatic
#4F1F4E #7B317A #A742A5 #C264C0 #D390D2

Accessibility & contrast

On white

5.30
#A742A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A742A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742A5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742A5#FFFFFF#000000##FFFFFF
##A742A51.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#AC4E6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a742a5;
/* rgb */ color: rgb(167, 66, 165);
/* oklch */ color: oklch(55.2% 0.178 328.4);
Tailwind
colors: {
  custom: {
    50: '#c47dc0',
    500: '#a742a5',
    950: '#000000',
  },
}
SCSS
$custom: #a742a5;
$custom-light: #c47dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a742a5",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 301.188,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.17841,
    "h": 328.4
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#A742A5
secondary
#86BE87
accent
#D35755
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A742A5

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

Preview Lab → · Contrast checker → · Palette generator →

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