#A74DB5#A74DB5

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

Color values

HEX#A74DB5
RGBrgb(167, 77, 181)
HSLhsl(292, 41%, 51%)
HSVhsv(292, 57%, 71%)
CMYKcmyk(7.7%, 57.5%, 0%, 29%)
CIE-LABlab(48.08, 52.17, -39.08)
CIE-LCHlch(48.08, 65.19, 323.16°)
OKLaboklab(57.45% 0.1393 -0.1085)
OKLCHoklch(57.45% 0.177 322.1)
XYZxyz(26.9298, 16.8607, 45.5431)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DB5 #5BB54D
analogous
#734DB5 #A74DB5 #B54D8F
triadic
#A74DB5 #B5A74D #4DB5A7
tetradic
#A74DB5 #B5734D #5BB54D #4D8FB5
square
#A74DB5 #B5734D #5BB54D #4D8FB5
split-complementary
#A74DB5 #8FB54D #4DB573
monochromatic
#582860 #803A8B #A74DB5 #BC78C7 #D2A3D9

Accessibility & contrast

On white

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

On black

4.37
#A74DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A74DB5#FFFFFF#000000##FFFFFF
##A74DB51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB8
Deuteranopia (green-blind)
#5976B2
Tritanopia (blue-blind)
#A95C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74db5;
/* rgb */ color: rgb(167, 77, 181);
/* oklch */ color: oklch(57.5% 0.177 322.1);
Tailwind
colors: {
  custom: {
    50: '#c483cb',
    500: '#a74db5',
    950: '#000000',
  },
}
SCSS
$custom: #a74db5;
$custom-light: #c483cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a74db5",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 291.923,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.17651,
    "h": 322.1
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#A74DB5
secondary
#9EC698
accent
#D15767
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A74DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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