#A142DF#A142DF

#A142DF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.230 H 308.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A142DF
RGBrgb(161, 66, 223)
HSLhsl(276, 71%, 57%)
HSVhsv(276, 70%, 87%)
CMYKcmyk(27.8%, 70.4%, 0%, 12.5%)
CIE-LABlab(48.01, 64.39, -63.45)
CIE-LCHlch(48.01, 90.40, 315.42°)
OKLaboklab(58.04% 0.143 -0.1798)
OKLCHoklch(58.04% 0.23 308.5)
XYZxyz(29.9627, 16.8017, 71.4624)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142DF #80DF42
analogous
#5342DF #A142DF #DF42CE
triadic
#A142DF #DFA142 #42DFA1
tetradic
#A142DF #DF5342 #80DF42 #42CEDF
square
#A142DF #DF5342 #80DF42 #42CEDF
split-complementary
#A142DF #CEDF42 #42DF53
monochromatic
#60188E #8321C3 #A142DF #BB76E8 #D5ABF1

Accessibility & contrast

On white

4.82
#A142DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A142DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142DF#FFFFFF#000000##FFFFFF
##A142DF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#97668C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a142df;
/* rgb */ color: rgb(161, 66, 223);
/* oklch */ color: oklch(58.0% 0.230 308.5);
Tailwind
colors: {
  custom: {
    50: '#c27eea',
    500: '#a142df',
    950: '#000000',
  },
}
SCSS
$custom: #a142df;
$custom-light: #c27eea;
$custom-dark: #000000;
JSON
{
  "hex": "#a142df",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 276.306,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.22976,
    "h": 308.5
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#A142DF
secondary
#B8DF9E
accent
#EE3A81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A142DF

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

Preview Lab → · Contrast checker → · Palette generator →

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