#A740D2#A740D2

#A740D2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.222 H 314.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A740D2
RGBrgb(167, 64, 210)
HSLhsl(282, 62%, 54%)
HSVhsv(282, 70%, 82%)
CMYKcmyk(20.5%, 69.5%, 0%, 17.6%)
CIE-LABlab(47.67, 63.71, -56.53)
CIE-LCHlch(47.67, 85.17, 318.42°)
OKLaboklab(57.69% 0.1541 -0.1593)
OKLCHoklch(57.69% 0.222 314.1)
XYZxyz(29.4006, 16.5364, 62.6034)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740D2 #6BD240
analogous
#5E40D2 #A740D2 #D240B4
triadic
#A740D2 #D2A740 #40D2A7
tetradic
#A740D2 #D25E40 #6BD240 #40B4D2
square
#A740D2 #D25E40 #6BD240 #40B4D2
split-complementary
#A740D2 #B4D240 #40D25E
monochromatic
#5F1D7B #8529AC #A740D2 #BE72DE #D5A3E9

Accessibility & contrast

On white

4.88
#A740D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A740D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740D2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740D2#FFFFFF#000000##FFFFFF
##A740D21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#A35E85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a740d2;
/* rgb */ color: rgb(167, 64, 210);
/* oklch */ color: oklch(57.7% 0.222 314.1);
Tailwind
colors: {
  custom: {
    50: '#c57de0',
    500: '#a740d2',
    950: '#000000',
  },
}
SCSS
$custom: #a740d2;
$custom-light: #c57de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a740d2",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 282.329,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.22169,
    "h": 314.1
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#A740D2
secondary
#AAD698
accent
#E54373
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740D2

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

Preview Lab → · Contrast checker → · Palette generator →

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