#A354EF#A354EF

#A354EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.5% C 0.224 H 303.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A354EF
RGBrgb(163, 84, 239)
HSLhsl(271, 83%, 63%)
HSVhsv(271, 65%, 94%)
CMYKcmyk(31.8%, 64.9%, 0%, 6.3%)
CIE-LABlab(52.24, 60.27, -65.62)
CIE-LCHlch(52.24, 89.10, 312.57°)
OKLaboklab(61.46% 0.1251 -0.1863)
OKLCHoklch(61.46% 0.224 303.9)
XYZxyz(33.8510, 20.3593, 83.7910)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A354EF #A0EF54
analogous
#5554EF #A354EF #EF54ED
triadic
#A354EF #EFA354 #54EFA3
tetradic
#A354EF #EF5554 #A0EF54 #54EDEF
square
#A354EF #EF5554 #A0EF54 #54EDEF
split-complementary
#A354EF #EDEF54 #54EF55
monochromatic
#6611B7 #851CEA #A354EF #C18CF4 #DFC4F9

Accessibility & contrast

On white

4.14
#A354EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A354EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A354EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A354EF#FFFFFF#000000##000000
##A354EF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#1F7CEC
Tritanopia (blue-blind)
#95769A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a354ef;
/* rgb */ color: rgb(163, 84, 239);
/* oklch */ color: oklch(61.5% 0.224 303.9);
Tailwind
colors: {
  custom: {
    50: '#c389f5',
    500: '#a354ef',
    950: '#000000',
  },
}
SCSS
$custom: #a354ef;
$custom-light: #c389f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a354ef",
  "rgb": {
    "r": 163,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 270.581,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.22436,
    "h": 303.9
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#A354EF
secondary
#CFEBB4
accent
#DF0671
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A354EF

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

Preview Lab → · Contrast checker → · Palette generator →

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