#A942EA#A942EA

#A942EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.8% C 0.242 H 308.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A942EA
RGBrgb(169, 66, 234)
HSLhsl(277, 80%, 59%)
HSVhsv(277, 72%, 92%)
CMYKcmyk(27.8%, 71.8%, 0%, 8.2%)
CIE-LABlab(49.83, 68.26, -66.68)
CIE-LCHlch(49.83, 95.42, 315.67°)
OKLaboklab(59.79% 0.1517 -0.1891)
OKLCHoklch(59.79% 0.242 308.7)
XYZxyz(33.1586, 18.2725, 79.6061)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942EA #83EA42
analogous
#5542EA #A942EA #EA42D7
triadic
#A942EA #EAA942 #42EAA9
tetradic
#A942EA #EA5542 #83EA42 #42D7EA
square
#A942EA #EA5542 #83EA42 #42D7EA
split-complementary
#A942EA #D7EA42 #42EA55
monochromatic
#6912A0 #8D18D7 #A942EA #C279F0 #DBB0F6

Accessibility & contrast

On white

4.51
#A942EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A942EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A942EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942EA#FFFFFF#000000##000000
##A942EA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#1078E6
Tritanopia (blue-blind)
#9F6992
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a942ea;
/* rgb */ color: rgb(169, 66, 234);
/* oklch */ color: oklch(59.8% 0.242 308.7);
Tailwind
colors: {
  custom: {
    50: '#c87ff2',
    500: '#a942ea',
    950: '#000000',
  },
}
SCSS
$custom: #a942ea;
$custom-light: #c87ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a942ea",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 276.786,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.24241,
    "h": 308.7
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#A942EA
secondary
#BCE5A3
accent
#F6317E
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A942EA

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

Preview Lab → · Contrast checker → · Palette generator →

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