#A74CBB#A74CBB

#A74CBB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.184 H 320.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A74CBB
RGBrgb(167, 76, 187)
HSLhsl(289, 45%, 52%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(10.7%, 59.4%, 0%, 26.7%)
CIE-LABlab(48.23, 53.82, -42.35)
CIE-LCHlch(48.23, 68.49, 321.80°)
OKLaboklab(57.66% 0.1409 -0.118)
OKLCHoklch(57.66% 0.184 320.1)
XYZxyz(27.4893, 16.9735, 48.8323)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CBB #60BB4C
analogous
#704CBB #A74CBB #BB4C98
triadic
#A74CBB #BBA74C #4CBBA7
tetradic
#A74CBB #BB704C #60BB4C #4C98BB
square
#A74CBB #BB704C #60BB4C #4C98BB
split-complementary
#A74CBB #98BB4C #4CBB70
monochromatic
#5B2766 #823892 #A74CBB #BD78CC #D3A5DD

Accessibility & contrast

On white

4.78
#A74CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A74CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74CBB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CBB#FFFFFF#000000##FFFFFF
##A74CBB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#A85D7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a74cbb;
/* rgb */ color: rgb(167, 76, 187);
/* oklch */ color: oklch(57.7% 0.184 320.1);
Tailwind
colors: {
  custom: {
    50: '#c483d0',
    500: '#a74cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a74cbb;
$custom-light: #c483d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cbb",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 289.189,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.18377,
    "h": 320.1
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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