#A74BB5#A74BB5

#A74BB5 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.2% C 0.180 H 322.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A74BB5
RGBrgb(167, 75, 181)
HSLhsl(292, 42%, 50%)
HSVhsv(292, 59%, 71%)
CMYKcmyk(7.7%, 58.6%, 0%, 29%)
CIE-LABlab(47.73, 53.13, -39.64)
CIE-LCHlch(47.73, 66.28, 323.27°)
OKLaboklab(57.19% 0.1419 -0.1101)
OKLCHoklch(57.19% 0.18 322.2)
XYZxyz(26.7920, 16.5852, 45.4971)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BB5 #59B54B
analogous
#724BB5 #A74BB5 #B54B8E
triadic
#A74BB5 #B5A74B #4BB5A7
tetradic
#A74BB5 #B5724B #59B54B #4B8EB5
square
#A74BB5 #B5724B #59B54B #4B8EB5
split-complementary
#A74BB5 #8EB54B #4BB572
monochromatic
#57275F #7F398A #A74BB5 #BC76C7 #D1A2D9

Accessibility & contrast

On white

4.86
#A74BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A74BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74BB5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BB5#FFFFFF#000000##FFFFFF
##A74BB51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#A95A79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74bb5;
/* rgb */ color: rgb(167, 75, 181);
/* oklch */ color: oklch(57.2% 0.180 322.2);
Tailwind
colors: {
  custom: {
    50: '#c482cb',
    500: '#a74bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a74bb5;
$custom-light: #c482cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bb5",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 292.075,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.17954,
    "h": 322.2
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#A74BB5
secondary
#9CC696
accent
#D25667
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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