#A740CC#A740CC

#A740CC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.216 H 315.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A740CC
RGBrgb(167, 64, 204)
HSLhsl(284, 58%, 53%)
HSVhsv(284, 69%, 80%)
CMYKcmyk(18.1%, 68.6%, 0%, 20%)
CIE-LABlab(47.29, 62.51, -53.69)
CIE-LCHlch(47.29, 82.40, 319.34°)
OKLaboklab(57.3% 0.1546 -0.151)
OKLCHoklch(57.3% 0.216 315.7)
XYZxyz(28.6671, 16.2430, 58.7402)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A740CC #65CC40
analogous
#6140CC #A740CC #CC40AB
triadic
#A740CC #CCA740 #40CCA7
tetradic
#A740CC #CC6140 #65CC40 #40ABCC
square
#A740CC #CC6140 #65CC40 #40ABCC
split-complementary
#A740CC #ABCC40 #40CC61
monochromatic
#5D1F73 #842CA3 #A740CC #BD70D9 #D4A1E6

Accessibility & contrast

On white

4.94
#A740CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A740CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A740CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A740CC#FFFFFF#000000##FFFFFF
##A740CC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#A45C81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a740cc;
/* rgb */ color: rgb(167, 64, 204);
/* oklch */ color: oklch(57.3% 0.216 315.7);
Tailwind
colors: {
  custom: {
    50: '#c57ddc',
    500: '#a740cc',
    950: '#000000',
  },
}
SCSS
$custom: #a740cc;
$custom-light: #c57ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a740cc",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 284.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.21614,
    "h": 315.7
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#A740CC
secondary
#A6D295
accent
#E14770
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A740CC

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

Preview Lab → · Contrast checker → · Palette generator →

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