#A74BB8#A74BB8

#A74BB8 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.182 H 321.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A74BB8
RGBrgb(167, 75, 184)
HSLhsl(291, 43%, 51%)
HSVhsv(291, 59%, 72%)
CMYKcmyk(9.2%, 59.2%, 0%, 27.8%)
CIE-LABlab(47.89, 53.71, -41.14)
CIE-LCHlch(47.89, 67.65, 322.55°)
OKLaboklab(57.36% 0.142 -0.1144)
OKLCHoklch(57.36% 0.182 321.1)
XYZxyz(27.1032, 16.7096, 47.1357)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BB8 #5CB84B
analogous
#704BB8 #A74BB8 #B84B92
triadic
#A74BB8 #B8A74B #4BB8A7
tetradic
#A74BB8 #B8704B #5CB84B #4B92B8
square
#A74BB8 #B8704B #5CB84B #4B92B8
split-complementary
#A74BB8 #92B84B #4BB870
monochromatic
#592762 #80388E #A74BB8 #BC77C9 #D2A3DB

Accessibility & contrast

On white

4.84
#A74BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A74BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74BB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BB8#FFFFFF#000000##FFFFFF
##A74BB81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#A85C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74bb8;
/* rgb */ color: rgb(167, 75, 184);
/* oklch */ color: oklch(57.4% 0.182 321.1);
Tailwind
colors: {
  custom: {
    50: '#c482ce',
    500: '#a74bb8',
    950: '#000000',
  },
}
SCSS
$custom: #a74bb8;
$custom-light: #c482ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bb8",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 290.642,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.18238,
    "h": 321.1
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#A74BB8
secondary
#9FC897
accent
#D35568
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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