#A74BB4#A74BB4

#A74BB4 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.179 H 322.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A74BB4
RGBrgb(167, 75, 180)
HSLhsl(293, 41%, 50%)
HSVhsv(293, 58%, 71%)
CMYKcmyk(7.2%, 58.3%, 0%, 29.4%)
CIE-LABlab(47.68, 52.93, -39.14)
CIE-LCHlch(47.68, 65.83, 323.52°)
OKLaboklab(57.14% 0.1418 -0.1086)
OKLCHoklch(57.14% 0.179 322.5)
XYZxyz(26.6898, 16.5443, 44.9587)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BB4 #58B44B
analogous
#724BB4 #A74BB4 #B44B8D
triadic
#A74BB4 #B4A74B #4BB4A7
tetradic
#A74BB4 #B4724B #58B44B #4B8DB4
square
#A74BB4 #B4724B #58B44B #4B8DB4
split-complementary
#A74BB4 #8DB44B #4BB472
monochromatic
#57275E #7F3989 #A74BB4 #BC76C6 #D1A1D8

Accessibility & contrast

On white

4.87
#A74BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A74BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74BB4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BB4#FFFFFF#000000##FFFFFF
##A74BB41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#A95A78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74bb4;
/* rgb */ color: rgb(167, 75, 180);
/* oklch */ color: oklch(57.1% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#c482cb',
    500: '#a74bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a74bb4;
$custom-light: #c482cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bb4",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 292.571,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.17859,
    "h": 322.5
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#A74BB4
secondary
#9CC596
accent
#D15766
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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