#A351EC#A351EC

#A351EC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.225 H 304.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A351EC
RGBrgb(163, 81, 236)
HSLhsl(272, 80%, 62%)
HSVhsv(272, 66%, 93%)
CMYKcmyk(30.9%, 65.7%, 0%, 7.5%)
CIE-LABlab(51.53, 61.00, -65.09)
CIE-LCHlch(51.53, 89.21, 313.14°)
OKLaboklab(60.88% 0.1286 -0.1847)
OKLCHoklch(60.88% 0.225 304.8)
XYZxyz(33.1836, 19.7277, 81.4003)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351EC #9AEC51
analogous
#5651EC #A351EC #EC51E8
triadic
#A351EC #ECA351 #51ECA3
tetradic
#A351EC #EC5651 #9AEC51 #51E8EC
square
#A351EC #EC5651 #9AEC51 #51E8EC
split-complementary
#A351EC #E8EC51 #51EC56
monochromatic
#6613AF #861AE6 #A351EC #C088F2 #DDBFF8

Accessibility & contrast

On white

4.25
#A351EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A351EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351EC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351EC#FFFFFF#000000##000000
##A351EC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#967398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a351ec;
/* rgb */ color: rgb(163, 81, 236);
/* oklch */ color: oklch(60.9% 0.225 304.8);
Tailwind
colors: {
  custom: {
    50: '#c387f3',
    500: '#a351ec',
    950: '#000000',
  },
}
SCSS
$custom: #a351ec;
$custom-light: #c387f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a351ec",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 271.742,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.22504,
    "h": 304.8
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#A351EC
secondary
#CBE9B0
accent
#DD096D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A351EC

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

Preview Lab → · Contrast checker → · Palette generator →

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