#A342DD#A342DD

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

Color values

HEX#A342DD
RGBrgb(163, 66, 221)
HSLhsl(278, 70%, 56%)
HSVhsv(278, 70%, 87%)
CMYKcmyk(26.2%, 70.1%, 0%, 13.3%)
CIE-LABlab(48.14, 64.35, -62.09)
CIE-LCHlch(48.14, 89.42, 316.03°)
OKLaboklab(58.14% 0.1458 -0.1758)
OKLCHoklch(58.14% 0.228 309.7)
XYZxyz(30.1010, 16.9040, 70.0697)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A342DD #7CDD42
analogous
#5642DD #A342DD #DD42CA
triadic
#A342DD #DDA342 #42DDA3
tetradic
#A342DD #DD5642 #7CDD42 #42CADD
square
#A342DD #DD5642 #7CDD42 #42CADD
split-complementary
#A342DD #CADD42 #42DD56
monochromatic
#61198C #8522BF #A342DD #BC76E6 #D5AAF0

Accessibility & contrast

On white

4.79
#A342DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A342DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A342DD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A342DD#FFFFFF#000000##FFFFFF
##A342DD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#9B648B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a342dd;
/* rgb */ color: rgb(163, 66, 221);
/* oklch */ color: oklch(58.1% 0.228 309.7);
Tailwind
colors: {
  custom: {
    50: '#c37ee8',
    500: '#a342dd',
    950: '#000000',
  },
}
SCSS
$custom: #a342dd;
$custom-light: #c37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a342dd",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 277.548,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.2284,
    "h": 309.7
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#A342DD
secondary
#B5DD9D
accent
#EC3B7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A342DD

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

Preview Lab → · Contrast checker → · Palette generator →

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