#A74BB7#A74BB7

#A74BB7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.181 H 321.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A74BB7
RGBrgb(167, 75, 183)
HSLhsl(291, 43%, 51%)
HSVhsv(291, 59%, 72%)
CMYKcmyk(8.7%, 59%, 0%, 28.2%)
CIE-LABlab(47.84, 53.51, -40.64)
CIE-LCHlch(47.84, 67.19, 322.79°)
OKLaboklab(57.31% 0.142 -0.113)
OKLCHoklch(57.31% 0.181 321.5)
XYZxyz(26.9987, 16.6678, 46.5856)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BB7 #5BB74B
analogous
#714BB7 #A74BB7 #B74B91
triadic
#A74BB7 #B7A74B #4BB7A7
tetradic
#A74BB7 #B7714B #5BB74B #4B91B7
square
#A74BB7 #B7714B #5BB74B #4B91B7
split-complementary
#A74BB7 #91B74B #4BB771
monochromatic
#582761 #80388D #A74BB7 #BC77C8 #D2A2DA

Accessibility & contrast

On white

4.85
#A74BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A74BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74BB7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BB7#FFFFFF#000000##FFFFFF
##A74BB71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#A95B7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a74bb7;
/* rgb */ color: rgb(167, 75, 183);
/* oklch */ color: oklch(57.3% 0.181 321.5);
Tailwind
colors: {
  custom: {
    50: '#c482cd',
    500: '#a74bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a74bb7;
$custom-light: #c482cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bb7",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 291.111,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.18143,
    "h": 321.5
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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