#A142EB#A142EB

#A142EB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.9% C 0.241 H 305.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A142EB
RGBrgb(161, 66, 235)
HSLhsl(274, 81%, 59%)
HSVhsv(274, 72%, 92%)
CMYKcmyk(31.5%, 71.9%, 0%, 7.8%)
CIE-LABlab(48.85, 67.00, -68.88)
CIE-LCHlch(48.85, 96.09, 314.21°)
OKLaboklab(58.9% 0.1411 -0.1958)
OKLCHoklch(58.9% 0.241 305.8)
XYZxyz(31.6382, 17.4719, 80.2868)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A142EB #8CEB42
analogous
#4D42EB #A142EB #EB42E0
triadic
#A142EB #EBA142 #42EBA1
tetradic
#A142EB #EB4D42 #8CEB42 #42E0EB
square
#A142EB #EB4D42 #8CEB42 #42E0EB
split-complementary
#A142EB #E0EB42 #42EB4D
monochromatic
#6211A2 #8417D9 #A142EB #BD79F1 #D8B1F7

Accessibility & contrast

On white

4.67
#A142EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A142EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A142EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A142EB#FFFFFF#000000##FFFFFF
##A142EB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#946A93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a142eb;
/* rgb */ color: rgb(161, 66, 235);
/* oklch */ color: oklch(58.9% 0.241 305.8);
Tailwind
colors: {
  custom: {
    50: '#c37ff2',
    500: '#a142eb',
    950: '#000000',
  },
}
SCSS
$custom: #a142eb;
$custom-light: #c37ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a142eb",
  "rgb": {
    "r": 161,
    "g": 66,
    "b": 235
  },
  "hsl": {
    "h": 273.728,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.24136,
    "h": 305.8
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#A142EB
secondary
#C0E6A3
accent
#F73188
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A142EB

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

Preview Lab → · Contrast checker → · Palette generator →

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