#A742CE#A742CE

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

Color values

HEX#A742CE
RGBrgb(167, 66, 206)
HSLhsl(283, 59%, 53%)
HSVhsv(283, 68%, 81%)
CMYKcmyk(18.9%, 68%, 0%, 19.2%)
CIE-LABlab(47.71, 62.07, -54.16)
CIE-LCHlch(47.71, 82.38, 318.89°)
OKLaboklab(57.64% 0.1524 -0.1524)
OKLCHoklch(57.64% 0.216 315)
XYZxyz(29.0233, 16.5692, 60.0499)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A742CE #69CE42
analogous
#6142CE #A742CE #CE42AF
triadic
#A742CE #CEA742 #42CEA7
tetradic
#A742CE #CE6142 #69CE42 #42AFCE
square
#A742CE #CE6142 #69CE42 #42AFCE
split-complementary
#A742CE #AFCE42 #42CE61
monochromatic
#5E1F77 #852BA7 #A742CE #BE73DB #D4A3E7

Accessibility & contrast

On white

4.87
#A742CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A742CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A742CE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A742CE#FFFFFF#000000##FFFFFF
##A742CE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#A45E83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a742ce;
/* rgb */ color: rgb(167, 66, 206);
/* oklch */ color: oklch(57.6% 0.216 315.0);
Tailwind
colors: {
  custom: {
    50: '#c57ede',
    500: '#a742ce',
    950: '#000000',
  },
}
SCSS
$custom: #a742ce;
$custom-light: #c57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a742ce",
  "rgb": {
    "r": 167,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 283.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.21551,
    "h": 315
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#A742CE
secondary
#A9D498
accent
#E24671
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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