#A542EE#A542EE

#A542EE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.6% C 0.245 H 306.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A542EE
RGBrgb(165, 66, 238)
HSLhsl(275, 83%, 60%)
HSVhsv(275, 72%, 93%)
CMYKcmyk(30.7%, 72.3%, 0%, 6.7%)
CIE-LABlab(49.58, 68.37, -69.36)
CIE-LCHlch(49.58, 97.39, 314.59°)
OKLaboklab(59.59% 0.1458 -0.1971)
OKLCHoklch(59.59% 0.245 306.5)
XYZxyz(32.8945, 18.0692, 82.6271)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A542EE #8BEE42
analogous
#4F42EE #A542EE #EE42E1
triadic
#A542EE #EEA542 #42EEA5
tetradic
#A542EE #EE4F42 #8BEE42 #42E1EE
square
#A542EE #EE4F42 #8BEE42 #42E1EE
split-complementary
#A542EE #E1EE42 #42EE4F
monochromatic
#660FA7 #8914DF #A542EE #C07AF3 #DAB2F8

Accessibility & contrast

On white

4.55
#A542EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A542EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A542EE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A542EE#FFFFFF#000000##000000
##A542EE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#986B95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a542ee;
/* rgb */ color: rgb(165, 66, 238);
/* oklch */ color: oklch(59.6% 0.245 306.5);
Tailwind
colors: {
  custom: {
    50: '#c57ff5',
    500: '#a542ee',
    950: '#000000',
  },
}
SCSS
$custom: #a542ee;
$custom-light: #c57ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a542ee",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 238
  },
  "hsl": {
    "h": 274.535,
    "s": 83.495,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.24517,
    "h": 306.5
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#A542EE
secondary
#C1E7A5
accent
#FA2E84
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A542EE

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

Preview Lab → · Contrast checker → · Palette generator →

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