#A74DBB#A74DBB

#A74DBB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.182 H 320.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A74DBB
RGBrgb(167, 77, 187)
HSLhsl(289, 45%, 52%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(10.7%, 58.8%, 0%, 26.7%)
CIE-LABlab(48.40, 53.34, -42.08)
CIE-LCHlch(48.40, 67.94, 321.73°)
OKLaboklab(57.79% 0.1396 -0.1172)
OKLCHoklch(57.79% 0.182 320)
XYZxyz(27.5588, 17.1123, 48.8554)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DBB #61BB4D
analogous
#704DBB #A74DBB #BB4D98
triadic
#A74DBB #BBA74D #4DBBA7
tetradic
#A74DBB #BB704D #61BB4D #4D98BB
square
#A74DBB #BB704D #61BB4D #4D98BB
split-complementary
#A74DBB #98BB4D #4DBB70
monochromatic
#5B2766 #823893 #A74DBB #BD79CC #D3A6DD

Accessibility & contrast

On white

4.75
#A74DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A74DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74DBB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DBB#FFFFFF#000000##FFFFFF
##A74DBB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#A85E7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a74dbb;
/* rgb */ color: rgb(167, 77, 187);
/* oklch */ color: oklch(57.8% 0.182 320.0);
Tailwind
colors: {
  custom: {
    50: '#c484d0',
    500: '#a74dbb',
    950: '#000000',
  },
}
SCSS
$custom: #a74dbb;
$custom-light: #c484d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74dbb",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 289.091,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.18228,
    "h": 320
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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