#A74EBA#A74EBA

#A74EBA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.180 H 320.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A74EBA
RGBrgb(167, 78, 186)
HSLhsl(289, 44%, 52%)
HSVhsv(289, 58%, 73%)
CMYKcmyk(10.2%, 58.1%, 0%, 27.1%)
CIE-LABlab(48.52, 52.67, -41.30)
CIE-LCHlch(48.52, 66.93, 321.90°)
OKLaboklab(57.86% 0.1383 -0.1149)
OKLCHoklch(57.86% 0.18 320.3)
XYZxyz(27.5226, 17.2107, 48.3171)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EBA #61BA4E
analogous
#714EBA #A74EBA #BA4E97
triadic
#A74EBA #BAA74E #4EBAA7
tetradic
#A74EBA #BA714E #61BA4E #4E97BA
square
#A74EBA #BA714E #61BA4E #4E97BA
split-complementary
#A74EBA #97BA4E #4EBA71
monochromatic
#5B2866 #823992 #A74EBA #BD7ACB #D3A6DC

Accessibility & contrast

On white

4.73
#A74EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A74EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74EBA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EBA#FFFFFF#000000##FFFFFF
##A74EBA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#A85E7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a74eba;
/* rgb */ color: rgb(167, 78, 186);
/* oklch */ color: oklch(57.9% 0.180 320.3);
Tailwind
colors: {
  custom: {
    50: '#c484cf',
    500: '#a74eba',
    950: '#000000',
  },
}
SCSS
$custom: #a74eba;
$custom-light: #c484cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eba",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 289.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.17981,
    "h": 320.3
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#A74EBA
secondary
#A3CA9A
accent
#D4546B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A74EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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