#A740D5#A740D5

#A740D5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.224 H 313.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A740D5
RGBrgb(167, 64, 213)
HSLhsl(281, 64%, 54%)
HSVhsv(281, 70%, 84%)
CMYKcmyk(21.6%, 70%, 0%, 16.5%)
CIE-LABlab(47.86, 64.32, -57.94)
CIE-LCHlch(47.86, 86.56, 317.99°)
OKLaboklab(57.89% 0.1538 -0.1635)
OKLCHoklch(57.89% 0.224 313.3)
XYZxyz(29.7779, 16.6873, 64.5902)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740D5 #6ED540
analogous
#5D40D5 #A740D5 #D540B8
triadic
#A740D5 #D5A740 #40D5A7
tetradic
#A740D5 #D55D40 #6ED540 #40B8D5
square
#A740D5 #D55D40 #6ED540 #40B8D5
split-complementary
#A740D5 #B8D540 #40D55D
monochromatic
#601C7F #8627B1 #A740D5 #BE72E0 #D5A4EB

Accessibility & contrast

On white

4.84
#A740D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A740D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740D5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740D5#FFFFFF#000000##FFFFFF
##A740D51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#3474D2
Tritanopia (blue-blind)
#A25F86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a740d5;
/* rgb */ color: rgb(167, 64, 213);
/* oklch */ color: oklch(57.9% 0.224 313.3);
Tailwind
colors: {
  custom: {
    50: '#c57de3',
    500: '#a740d5',
    950: '#000000',
  },
}
SCSS
$custom: #a740d5;
$custom-light: #c57de3;
$custom-dark: #000000;
JSON
{
  "hex": "#a740d5",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 281.477,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.22447,
    "h": 313.3
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#A740D5
secondary
#ACD899
accent
#E74174
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A740D5

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

Preview Lab → · Contrast checker → · Palette generator →

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