#A740D7#A740D7

#A740D7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.226 H 312.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A740D7
RGBrgb(167, 64, 215)
HSLhsl(281, 65%, 55%)
HSVhsv(281, 70%, 84%)
CMYKcmyk(22.3%, 70.2%, 0%, 15.7%)
CIE-LABlab(47.99, 64.72, -58.87)
CIE-LCHlch(47.99, 87.49, 317.71°)
OKLaboklab(58.03% 0.1536 -0.1662)
OKLCHoklch(58.03% 0.226 312.7)
XYZxyz(30.0333, 16.7895, 65.9354)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740D7 #70D740
analogous
#5C40D7 #A740D7 #D740BC
triadic
#A740D7 #D7A740 #40D7A7
tetradic
#A740D7 #D75C40 #70D740 #40BCD7
square
#A740D7 #D75C40 #70D740 #40BCD7
split-complementary
#A740D7 #BCD740 #40D75C
monochromatic
#611B81 #8726B4 #A740D7 #BE73E2 #D6A5EC

Accessibility & contrast

On white

4.82
#A740D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A740D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740D7#FFFFFF#000000##FFFFFF
##A740D71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#A26087
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a740d7;
/* rgb */ color: rgb(167, 64, 215);
/* oklch */ color: oklch(58.0% 0.226 312.7);
Tailwind
colors: {
  custom: {
    50: '#c57de4',
    500: '#a740d7',
    950: '#000000',
  },
}
SCSS
$custom: #a740d7;
$custom-light: #c57de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a740d7",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 215
  },
  "hsl": {
    "h": 280.927,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.22633,
    "h": 312.7
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#A740D7
secondary
#AED99A
accent
#E83F75
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A740D7

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

Preview Lab → · Contrast checker → · Palette generator →

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