#A142DE#A142DE

#A142DE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.229 H 308.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A142DE
RGBrgb(161, 66, 222)
HSLhsl(277, 70%, 56%)
HSVhsv(277, 70%, 87%)
CMYKcmyk(27.5%, 70.3%, 0%, 12.9%)
CIE-LABlab(47.94, 64.17, -62.99)
CIE-LCHlch(47.94, 89.92, 315.53°)
OKLaboklab(57.97% 0.1431 -0.1785)
OKLCHoklch(57.97% 0.229 308.7)
XYZxyz(29.8283, 16.7479, 70.7544)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142DE #7FDE42
analogous
#5342DE #A142DE #DE42CD
triadic
#A142DE #DEA142 #42DEA1
tetradic
#A142DE #DE5342 #7FDE42 #42CDDE
square
#A142DE #DE5342 #7FDE42 #42CDDE
split-complementary
#A142DE #CDDE42 #42DE53
monochromatic
#5F198D #8322C1 #A142DE #BB76E7 #D5AAF0

Accessibility & contrast

On white

4.83
#A142DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A142DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142DE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142DE#FFFFFF#000000##FFFFFF
##A142DE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#1B73DB
Tritanopia (blue-blind)
#98658C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a142de;
/* rgb */ color: rgb(161, 66, 222);
/* oklch */ color: oklch(58.0% 0.229 308.7);
Tailwind
colors: {
  custom: {
    50: '#c27ee9',
    500: '#a142de',
    950: '#000000',
  },
}
SCSS
$custom: #a142de;
$custom-light: #c27ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#a142de",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 276.538,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.2288,
    "h": 308.7
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#A142DE
secondary
#B7DE9E
accent
#ED3B80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142DE

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

Preview Lab → · Contrast checker → · Palette generator →

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