#A742D4#A742D4

#A742D4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.221 H 313.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A742D4
RGBrgb(167, 66, 212)
HSLhsl(282, 63%, 55%)
HSVhsv(282, 69%, 83%)
CMYKcmyk(21.2%, 68.9%, 0%, 16.9%)
CIE-LABlab(48.09, 63.29, -57.00)
CIE-LCHlch(48.09, 85.17, 317.99°)
OKLaboklab(58.03% 0.1519 -0.1607)
OKLCHoklch(58.03% 0.221 313.4)
XYZxyz(29.7662, 16.8663, 63.9621)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742D4 #6FD442
analogous
#5E42D4 #A742D4 #D442B8
triadic
#A742D4 #D4A742 #42D4A7
tetradic
#A742D4 #D45E42 #6FD442 #42B8D4
square
#A742D4 #D45E42 #6FD442 #42B8D4
split-complementary
#A742D4 #B8D442 #42D45E
monochromatic
#611D7F #8728B1 #A742D4 #BE74DF #D5A6EB

Accessibility & contrast

On white

4.80
#A742D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A742D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742D4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742D4#FFFFFF#000000##FFFFFF
##A742D41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#3774D1
Tritanopia (blue-blind)
#A26086
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a742d4;
/* rgb */ color: rgb(167, 66, 212);
/* oklch */ color: oklch(58.0% 0.221 313.4);
Tailwind
colors: {
  custom: {
    50: '#c57ee2',
    500: '#a742d4',
    950: '#000000',
  },
}
SCSS
$custom: #a742d4;
$custom-light: #c57ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#a742d4",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 281.507,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.22113,
    "h": 313.4
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#A742D4
secondary
#ADD89A
accent
#E64274
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A742D4

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

Preview Lab → · Contrast checker → · Palette generator →

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