#A740CA#A740CA

#A740CA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.214 H 316.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A740CA
RGBrgb(167, 64, 202)
HSLhsl(285, 57%, 52%)
HSVhsv(285, 68%, 79%)
CMYKcmyk(17.3%, 68.3%, 0%, 20.8%)
CIE-LABlab(47.17, 62.11, -52.74)
CIE-LCHlch(47.17, 81.48, 319.67°)
OKLaboklab(57.17% 0.1548 -0.1482)
OKLCHoklch(57.17% 0.214 316.2)
XYZxyz(28.4288, 16.1476, 57.4850)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740CA #63CA40
analogous
#6240CA #A740CA #CA40A8
triadic
#A740CA #CAA740 #40CAA7
tetradic
#A740CA #CA6240 #63CA40 #40A8CA
square
#A740CA #CA6240 #63CA40 #40A8CA
split-complementary
#A740CA #A8CA40 #40CA62
monochromatic
#5C1F70 #832CA0 #A740CA #BD70D7 #D3A0E5

Accessibility & contrast

On white

4.97
#A740CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A740CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740CA#FFFFFF#000000##FFFFFF
##A740CA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#A55B80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a740ca;
/* rgb */ color: rgb(167, 64, 202);
/* oklch */ color: oklch(57.2% 0.214 316.2);
Tailwind
colors: {
  custom: {
    50: '#c57ddb',
    500: '#a740ca',
    950: '#000000',
  },
}
SCSS
$custom: #a740ca;
$custom-light: #c57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a740ca",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 284.783,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.21429,
    "h": 316.2
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#A740CA
secondary
#A4D195
accent
#E0486E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740CA

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

Preview Lab → · Contrast checker → · Palette generator →

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