#A74FBA#A74FBA

#A74FBA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.178 H 320.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A74FBA
RGBrgb(167, 79, 186)
HSLhsl(289, 44%, 52%)
HSVhsv(289, 58%, 73%)
CMYKcmyk(10.2%, 57.5%, 0%, 27.1%)
CIE-LABlab(48.70, 52.19, -41.02)
CIE-LCHlch(48.70, 66.38, 321.83°)
OKLaboklab(57.99% 0.137 -0.1141)
OKLCHoklch(57.99% 0.178 320.2)
XYZxyz(27.5942, 17.3538, 48.3410)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FBA #62BA4F
analogous
#724FBA #A74FBA #BA4F97
triadic
#A74FBA #BAA74F #4FBAA7
tetradic
#A74FBA #BA724F #62BA4F #4F97BA
square
#A74FBA #BA724F #62BA4F #4F97BA
split-complementary
#A74FBA #97BA4F #4FBA72
monochromatic
#5B2866 #833992 #A74FBA #BD7BCB #D3A7DC

Accessibility & contrast

On white

4.70
#A74FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A74FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74FBA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FBA#FFFFFF#000000##FFFFFF
##A74FBA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#A85F7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a74fba;
/* rgb */ color: rgb(167, 79, 186);
/* oklch */ color: oklch(58.0% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#c485cf',
    500: '#a74fba',
    950: '#000000',
  },
}
SCSS
$custom: #a74fba;
$custom-light: #c485cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fba",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 289.346,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.17828,
    "h": 320.2
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#A74FBA
secondary
#A3CA9B
accent
#D3546B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A74FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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