#A74EB2#A74EB2

#A74EB2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.172 H 323.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A74EB2
RGBrgb(167, 78, 178)
HSLhsl(293, 39%, 50%)
HSVhsv(293, 56%, 70%)
CMYKcmyk(6.2%, 56.2%, 0%, 30.2%)
CIE-LABlab(48.11, 51.12, -37.29)
CIE-LCHlch(48.11, 63.27, 323.89°)
OKLaboklab(57.42% 0.1377 -0.1033)
OKLCHoklch(57.42% 0.172 323.1)
XYZxyz(26.6958, 16.8800, 43.9628)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EB2 #59B24E
analogous
#754EB2 #A74EB2 #B24E8B
triadic
#A74EB2 #B2A74E #4EB2A7
tetradic
#A74EB2 #B2754E #59B24E #4E8BB2
square
#A74EB2 #B2754E #59B24E #4E8BB2
split-complementary
#A74EB2 #8BB24E #4EB275
monochromatic
#57295D #7F3B88 #A74EB2 #BC79C5 #D1A3D7

Accessibility & contrast

On white

4.80
#A74EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A74EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EB2#FFFFFF#000000##FFFFFF
##A74EB21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#AA5C79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74eb2;
/* rgb */ color: rgb(167, 78, 178);
/* oklch */ color: oklch(57.4% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#c484c9',
    500: '#a74eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a74eb2;
$custom-light: #c484c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eb2",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 293.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.17211,
    "h": 323.1
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#A74EB2
secondary
#9CC498
accent
#CF5966
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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