#A740CD#A740CD

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

Color values

HEX#A740CD
RGBrgb(167, 64, 205)
HSLhsl(284, 59%, 53%)
HSVhsv(284, 69%, 80%)
CMYKcmyk(18.5%, 68.8%, 0%, 19.6%)
CIE-LABlab(47.35, 62.70, -54.16)
CIE-LCHlch(47.35, 82.86, 319.18°)
OKLaboklab(57.37% 0.1546 -0.1524)
OKLCHoklch(57.37% 0.217 315.4)
XYZxyz(28.7874, 16.2911, 59.3739)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740CD #66CD40
analogous
#6140CD #A740CD #CD40AC
triadic
#A740CD #CDA740 #40CDA7
tetradic
#A740CD #CD6140 #66CD40 #40ACCD
square
#A740CD #CD6140 #66CD40 #40ACCD
split-complementary
#A740CD #ACCD40 #40CD61
monochromatic
#5D1E74 #842BA5 #A740CD #BD71DA #D4A1E6

Accessibility & contrast

On white

4.93
#A740CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A740CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740CD#FFFFFF#000000##FFFFFF
##A740CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#A45C82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a740cd;
/* rgb */ color: rgb(167, 64, 205);
/* oklch */ color: oklch(57.4% 0.217 315.4);
Tailwind
colors: {
  custom: {
    50: '#c57ddd',
    500: '#a740cd',
    950: '#000000',
  },
}
SCSS
$custom: #a740cd;
$custom-light: #c57ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a740cd",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 283.83,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.21706,
    "h": 315.4
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#A740CD
secondary
#A6D396
accent
#E24670
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740CD

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

Preview Lab → · Contrast checker → · Palette generator →

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