#A74BB2#A74BB2

#A74BB2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.177 H 323.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A74BB2
RGBrgb(167, 75, 178)
HSLhsl(294, 41%, 50%)
HSVhsv(294, 58%, 70%)
CMYKcmyk(6.2%, 57.9%, 0%, 30.2%)
CIE-LABlab(47.58, 52.55, -38.13)
CIE-LCHlch(47.58, 64.93, 324.04°)
OKLaboklab(57.03% 0.1416 -0.1057)
OKLCHoklch(57.03% 0.177 323.3)
XYZxyz(26.4875, 16.4634, 43.8934)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BB2 #56B24B
analogous
#744BB2 #A74BB2 #B24B8A
triadic
#A74BB2 #B2A74B #4BB2A7
tetradic
#A74BB2 #B2744B #56B24B #4B8AB2
square
#A74BB2 #B2744B #56B24B #4B8AB2
split-complementary
#A74BB2 #8AB24B #4BB274
monochromatic
#56275C #7F3987 #A74BB2 #BC75C5 #D1A0D7

Accessibility & contrast

On white

4.89
#A74BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A74BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74BB2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BB2#FFFFFF#000000##FFFFFF
##A74BB21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#5975AF
Tritanopia (blue-blind)
#AA5977
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74bb2;
/* rgb */ color: rgb(167, 75, 178);
/* oklch */ color: oklch(57.0% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#c482c9',
    500: '#a74bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a74bb2;
$custom-light: #c482c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bb2",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 293.592,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.17671,
    "h": 323.3
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#A74BB2
secondary
#9AC495
accent
#D15764
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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