#A740D3#A740D3

#A740D3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.223 H 313.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A740D3
RGBrgb(167, 64, 211)
HSLhsl(282, 63%, 54%)
HSVhsv(282, 70%, 83%)
CMYKcmyk(20.9%, 69.7%, 0%, 17.3%)
CIE-LABlab(47.73, 63.91, -57.00)
CIE-LCHlch(47.73, 85.64, 318.27°)
OKLaboklab(57.76% 0.154 -0.1607)
OKLCHoklch(57.76% 0.223 313.8)
XYZxyz(29.5256, 16.5864, 63.2616)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740D3 #6CD340
analogous
#5E40D3 #A740D3 #D340B6
triadic
#A740D3 #D3A740 #40D3A7
tetradic
#A740D3 #D35E40 #6CD340 #40B6D3
square
#A740D3 #D35E40 #6CD340 #40B6D3
split-complementary
#A740D3 #B6D340 #40D35E
monochromatic
#5F1D7C #8628AE #A740D3 #BE72DE #D5A3EA

Accessibility & contrast

On white

4.86
#A740D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A740D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740D3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740D3#FFFFFF#000000##FFFFFF
##A740D31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#A35F85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a740d3;
/* rgb */ color: rgb(167, 64, 211);
/* oklch */ color: oklch(57.8% 0.223 313.8);
Tailwind
colors: {
  custom: {
    50: '#c57de1',
    500: '#a740d3',
    950: '#000000',
  },
}
SCSS
$custom: #a740d3;
$custom-light: #c57de1;
$custom-dark: #000000;
JSON
{
  "hex": "#a740d3",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 282.041,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.2226,
    "h": 313.8
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#A740D3
secondary
#ABD798
accent
#E64273
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740D3

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

Preview Lab → · Contrast checker → · Palette generator →

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