#A742C8#A742C8

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

Color values

HEX#A742C8
RGBrgb(167, 66, 200)
HSLhsl(285, 55%, 52%)
HSVhsv(285, 67%, 78%)
CMYKcmyk(16.5%, 67%, 0%, 21.6%)
CIE-LABlab(47.34, 60.88, -51.30)
CIE-LCHlch(47.34, 79.61, 319.88°)
OKLaboklab(57.26% 0.1527 -0.144)
OKLCHoklch(57.26% 0.21 316.7)
XYZxyz(28.3083, 16.2832, 56.2842)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742C8 #63C842
analogous
#6442C8 #A742C8 #C842A6
triadic
#A742C8 #C8A742 #42C8A7
tetradic
#A742C8 #C86442 #63C842 #42A6C8
square
#A742C8 #C86442 #63C842 #42A6C8
split-complementary
#A742C8 #A6C842 #42C864
monochromatic
#5C206F #832E9F #A742C8 #BD71D6 #D3A1E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A742C8#FFFFFF#000000##FFFFFF
##A742C81.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)
#006ACC
Deuteranopia (green-blind)
#4473C5
Tritanopia (blue-blind)
#A55B80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a742c8;
/* rgb */ color: rgb(167, 66, 200);
/* oklch */ color: oklch(57.3% 0.210 316.7);
Tailwind
colors: {
  custom: {
    50: '#c57ed9',
    500: '#a742c8',
    950: '#000000',
  },
}
SCSS
$custom: #a742c8;
$custom-light: #c57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#a742c8",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 285.224,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.20992,
    "h": 316.7
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#A742C8
secondary
#A4D096
accent
#DE4A6E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A742C8

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

Preview Lab → · Contrast checker → · Palette generator →

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