#A742D2#A742D2

#A742D2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.219 H 313.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A742D2
RGBrgb(167, 66, 210)
HSLhsl(282, 62%, 54%)
HSVhsv(282, 69%, 82%)
CMYKcmyk(20.5%, 68.6%, 0%, 17.6%)
CIE-LABlab(47.96, 62.88, -56.06)
CIE-LCHlch(47.96, 84.24, 318.28°)
OKLaboklab(57.9% 0.1521 -0.1579)
OKLCHoklch(57.9% 0.219 313.9)
XYZxyz(29.5154, 16.7660, 62.6416)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742D2 #6DD242
analogous
#5F42D2 #A742D2 #D242B5
triadic
#A742D2 #D2A742 #42D2A7
tetradic
#A742D2 #D25F42 #6DD242 #42B5D2
square
#A742D2 #D25F42 #6DD242 #42B5D2
split-complementary
#A742D2 #B5D242 #42D25F
monochromatic
#601E7C #8629AD #A742D2 #BE73DE #D5A5EA

Accessibility & contrast

On white

4.82
#A742D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A742D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742D2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742D2#FFFFFF#000000##FFFFFF
##A742D21.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#A35F85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a742d2;
/* rgb */ color: rgb(167, 66, 210);
/* oklch */ color: oklch(57.9% 0.219 313.9);
Tailwind
colors: {
  custom: {
    50: '#c57ee0',
    500: '#a742d2',
    950: '#000000',
  },
}
SCSS
$custom: #a742d2;
$custom-light: #c57ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a742d2",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 282.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.21926,
    "h": 313.9
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#A742D2
secondary
#ACD799
accent
#E54373
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A742D2

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

Preview Lab → · Contrast checker → · Palette generator →

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