#A742CD#A742CD

#A742CD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.215 H 315.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A742CD
RGBrgb(167, 66, 205)
HSLhsl(284, 58%, 53%)
HSVhsv(284, 68%, 80%)
CMYKcmyk(18.5%, 67.8%, 0%, 19.6%)
CIE-LABlab(47.65, 61.87, -53.69)
CIE-LCHlch(47.65, 81.92, 319.05°)
OKLaboklab(57.58% 0.1525 -0.151)
OKLCHoklch(57.58% 0.215 315.3)
XYZxyz(28.9022, 16.5207, 59.4121)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742CD #68CD42
analogous
#6142CD #A742CD #CD42AD
triadic
#A742CD #CDA742 #42CDA7
tetradic
#A742CD #CD6142 #68CD42 #42ADCD
square
#A742CD #CD6142 #68CD42 #42ADCD
split-complementary
#A742CD #ADCD42 #42CD61
monochromatic
#5E1F76 #852CA6 #A742CD #BE72DA #D4A3E7

Accessibility & contrast

On white

4.88
#A742CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A742CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742CD#FFFFFF#000000##FFFFFF
##A742CD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#A45D82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a742cd;
/* rgb */ color: rgb(167, 66, 205);
/* oklch */ color: oklch(57.6% 0.215 315.3);
Tailwind
colors: {
  custom: {
    50: '#c57edd',
    500: '#a742cd',
    950: '#000000',
  },
}
SCSS
$custom: #a742cd;
$custom-light: #c57edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a742cd",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 283.597,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.21458,
    "h": 315.3
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#A742CD
secondary
#A8D397
accent
#E14671
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A742CD

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

Preview Lab → · Contrast checker → · Palette generator →

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