#A740CE#A740CE

#A740CE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.218 H 315.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A740CE
RGBrgb(167, 64, 206)
HSLhsl(284, 59%, 53%)
HSVhsv(284, 69%, 81%)
CMYKcmyk(18.9%, 68.9%, 0%, 19.2%)
CIE-LABlab(47.42, 62.90, -54.64)
CIE-LCHlch(47.42, 83.32, 319.02°)
OKLaboklab(57.43% 0.1545 -0.1538)
OKLCHoklch(57.43% 0.218 315.1)
XYZxyz(28.9085, 16.3395, 60.0116)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740CE #67CE40
analogous
#6040CE #A740CE #CE40AE
triadic
#A740CE #CEA740 #40CEA7
tetradic
#A740CE #CE6040 #67CE40 #40AECE
square
#A740CE #CE6040 #67CE40 #40AECE
split-complementary
#A740CE #AECE40 #40CE60
monochromatic
#5D1E75 #842BA6 #A740CE #BD71DA #D4A1E7

Accessibility & contrast

On white

4.92
#A740CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A740CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740CE#FFFFFF#000000##FFFFFF
##A740CE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#A45D82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a740ce;
/* rgb */ color: rgb(167, 64, 206);
/* oklch */ color: oklch(57.4% 0.218 315.1);
Tailwind
colors: {
  custom: {
    50: '#c57dde',
    500: '#a740ce',
    950: '#000000',
  },
}
SCSS
$custom: #a740ce;
$custom-light: #c57dde;
$custom-dark: #000000;
JSON
{
  "hex": "#a740ce",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 283.521,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.21798,
    "h": 315.1
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#A740CE
secondary
#A7D496
accent
#E24571
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740CE

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

Preview Lab → · Contrast checker → · Palette generator →

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