#A742CC#A742CC

#A742CC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.214 H 315.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A742CC
RGBrgb(167, 66, 204)
HSLhsl(284, 58%, 53%)
HSVhsv(284, 68%, 80%)
CMYKcmyk(18.1%, 67.6%, 0%, 20%)
CIE-LABlab(47.59, 61.67, -53.21)
CIE-LCHlch(47.59, 81.46, 319.21°)
OKLaboklab(57.51% 0.1525 -0.1496)
OKLCHoklch(57.51% 0.214 315.6)
XYZxyz(28.7819, 16.4726, 58.7784)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742CC #67CC42
analogous
#6242CC #A742CC #CC42AC
triadic
#A742CC #CCA742 #42CCA7
tetradic
#A742CC #CC6242 #67CC42 #42ACCC
square
#A742CC #CC6242 #67CC42 #42ACCC
split-complementary
#A742CC #ACCC42 #42CC62
monochromatic
#5D1F74 #842CA4 #A742CC #BD72D9 #D4A2E6

Accessibility & contrast

On white

4.89
#A742CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A742CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742CC#FFFFFF#000000##FFFFFF
##A742CC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#A45D82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a742cc;
/* rgb */ color: rgb(167, 66, 204);
/* oklch */ color: oklch(57.5% 0.214 315.6);
Tailwind
colors: {
  custom: {
    50: '#c57edc',
    500: '#a742cc',
    950: '#000000',
  },
}
SCSS
$custom: #a742cc;
$custom-light: #c57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a742cc",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 283.913,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.21365,
    "h": 315.6
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A742CC

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

Preview Lab → · Contrast checker → · Palette generator →

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