#A142E0#A142E0

#A142E0 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.231 H 308.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A142E0
RGBrgb(161, 66, 224)
HSLhsl(276, 72%, 57%)
HSVhsv(276, 71%, 88%)
CMYKcmyk(28.1%, 70.5%, 0%, 12.2%)
CIE-LABlab(48.08, 64.60, -63.90)
CIE-LCHlch(48.08, 90.87, 315.31°)
OKLaboklab(58.11% 0.1429 -0.1812)
OKLCHoklch(58.11% 0.231 308.3)
XYZxyz(30.0979, 16.8558, 72.1745)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142E0 #81E042
analogous
#5242E0 #A142E0 #E042D0
triadic
#A142E0 #E0A142 #42E0A1
tetradic
#A142E0 #E05242 #81E042 #42D0E0
square
#A142E0 #E05242 #81E042 #42D0E0
split-complementary
#A142E0 #D0E042 #42E052
monochromatic
#601890 #8320C5 #A142E0 #BB77E9 #D5ABF1

Accessibility & contrast

On white

4.80
#A142E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A142E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142E0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142E0#FFFFFF#000000##FFFFFF
##A142E01.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#1673DD
Tritanopia (blue-blind)
#97668D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a142e0;
/* rgb */ color: rgb(161, 66, 224);
/* oklch */ color: oklch(58.1% 0.231 308.3);
Tailwind
colors: {
  custom: {
    50: '#c27eeb',
    500: '#a142e0',
    950: '#000000',
  },
}
SCSS
$custom: #a142e0;
$custom-light: #c27eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a142e0",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 276.076,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.23074,
    "h": 308.3
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#A142E0
secondary
#B8DF9F
accent
#EF3982
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142E0

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

Preview Lab → · Contrast checker → · Palette generator →

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