#A742CF#A742CF

#A742CF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.216 H 314.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A742CF
RGBrgb(167, 66, 207)
HSLhsl(283, 59%, 54%)
HSVhsv(283, 68%, 81%)
CMYKcmyk(19.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(47.77, 62.28, -54.64)
CIE-LCHlch(47.77, 82.85, 318.74°)
OKLaboklab(57.71% 0.1523 -0.1538)
OKLCHoklch(57.71% 0.216 314.7)
XYZxyz(29.1452, 16.6179, 60.6917)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742CF #6ACF42
analogous
#6042CF #A742CF #CF42B0
triadic
#A742CF #CFA742 #42CFA7
tetradic
#A742CF #CF6042 #6ACF42 #42B0CF
square
#A742CF #CF6042 #6ACF42 #42B0CF
split-complementary
#A742CF #B0CF42 #42CF60
monochromatic
#5F1F78 #852BA9 #A742CF #BE73DB #D4A4E8

Accessibility & contrast

On white

4.86
#A742CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A742CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742CF#FFFFFF#000000##FFFFFF
##A742CF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#A45E84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a742cf;
/* rgb */ color: rgb(167, 66, 207);
/* oklch */ color: oklch(57.7% 0.216 314.7);
Tailwind
colors: {
  custom: {
    50: '#c57ede',
    500: '#a742cf',
    950: '#000000',
  },
}
SCSS
$custom: #a742cf;
$custom-light: #c57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a742cf",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 282.979,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.21645,
    "h": 314.7
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#A742CF
secondary
#A9D598
accent
#E34572
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A742CF

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

Preview Lab → · Contrast checker → · Palette generator →

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