#A74ABB#A74ABB

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

Color values

HEX#A74ABB
RGBrgb(167, 74, 187)
HSLhsl(289, 45%, 51%)
HSVhsv(289, 60%, 73%)
CMYKcmyk(10.7%, 60.4%, 0%, 26.7%)
CIE-LABlab(47.88, 54.76, -42.90)
CIE-LCHlch(47.88, 69.56, 321.92°)
OKLaboklab(57.41% 0.1434 -0.1195)
OKLCHoklch(57.41% 0.187 320.2)
XYZxyz(27.3537, 16.7022, 48.7871)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74ABB #5EBB4A
analogous
#6E4ABB #A74ABB #BB4A96
triadic
#A74ABB #BBA74A #4ABBA7
tetradic
#A74ABB #BB6E4A #5EBB4A #4A96BB
square
#A74ABB #BB6E4A #5EBB4A #4A96BB
split-complementary
#A74ABB #96BB4A #4ABB6E
monochromatic
#5A2665 #813791 #A74ABB #BD76CC #D2A3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74ABB#FFFFFF#000000##FFFFFF
##A74ABB1.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)
#306BBF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A85C7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74abb;
/* rgb */ color: rgb(167, 74, 187);
/* oklch */ color: oklch(57.4% 0.187 320.2);
Tailwind
colors: {
  custom: {
    50: '#c482d0',
    500: '#a74abb',
    950: '#000000',
  },
}
SCSS
$custom: #a74abb;
$custom-light: #c482d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74abb",
  "rgb": {
    "r": 167,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 289.381,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.18671,
    "h": 320.2
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#A74ABB
secondary
#A0C997
accent
#D5536A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A74ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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