#A942E6#A942E6

#A942E6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.5% C 0.239 H 309.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A942E6
RGBrgb(169, 66, 230)
HSLhsl(278, 77%, 58%)
HSVhsv(278, 71%, 90%)
CMYKcmyk(26.5%, 71.3%, 0%, 9.8%)
CIE-LABlab(49.55, 67.41, -64.87)
CIE-LCHlch(49.55, 93.56, 316.10°)
OKLaboklab(59.51% 0.1523 -0.1838)
OKLCHoklch(59.51% 0.239 309.6)
XYZxyz(32.5905, 18.0453, 76.6138)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A942E6 #7FE642
analogous
#5742E6 #A942E6 #E642D1
triadic
#A942E6 #E6A942 #42E6A9
tetradic
#A942E6 #E65742 #7FE642 #42D1E6
square
#A942E6 #E65742 #7FE642 #42D1E6
split-complementary
#A942E6 #D1E642 #42E657
monochromatic
#681499 #8C1BCF #A942E6 #C278ED #DAAEF4

Accessibility & contrast

On white

4.56
#A942E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A942E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A942E6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A942E6#FFFFFF#000000##000000
##A942E61.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#A06790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a942e6;
/* rgb */ color: rgb(169, 66, 230);
/* oklch */ color: oklch(59.5% 0.239 309.6);
Tailwind
colors: {
  custom: {
    50: '#c87fef',
    500: '#a942e6',
    950: '#000000',
  },
}
SCSS
$custom: #a942e6;
$custom-light: #c87fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a942e6",
  "rgb": {
    "r": 169,
    "g": 66,
    "b": 230
  },
  "hsl": {
    "h": 277.683,
    "s": 76.636,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.23866,
    "h": 309.6
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#A942E6
secondary
#BAE3A1
accent
#F3357B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A942E6

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

Preview Lab → · Contrast checker → · Palette generator →

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