#A74BBB#A74BBB

#A74BBB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.185 H 320.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A74BBB
RGBrgb(167, 75, 187)
HSLhsl(289, 45%, 51%)
HSVhsv(289, 60%, 73%)
CMYKcmyk(10.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(48.05, 54.29, -42.63)
CIE-LCHlch(48.05, 69.03, 321.86°)
OKLaboklab(57.53% 0.1422 -0.1187)
OKLCHoklch(57.53% 0.185 320.1)
XYZxyz(27.4210, 16.8367, 48.8095)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BBB #5FBB4B
analogous
#6F4BBB #A74BBB #BB4B97
triadic
#A74BBB #BBA74B #4BBBA7
tetradic
#A74BBB #BB6F4B #5FBB4B #4B97BB
square
#A74BBB #BB6F4B #5FBB4B #4B97BB
split-complementary
#A74BBB #97BB4B #4BBB6F
monochromatic
#5A2665 #823792 #A74BBB #BD77CC #D2A4DD

Accessibility & contrast

On white

4.81
#A74BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A74BBB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BBB#FFFFFF#000000##FFFFFF
##A74BBB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a74bbb;
/* rgb */ color: rgb(167, 75, 187);
/* oklch */ color: oklch(57.5% 0.185 320.1);
Tailwind
colors: {
  custom: {
    50: '#c482d0',
    500: '#a74bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a74bbb;
$custom-light: #c482d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bbb",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 289.286,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.18525,
    "h": 320.1
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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