#A351EA#A351EA

#A351EA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.223 H 305.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A351EA
RGBrgb(163, 81, 234)
HSLhsl(272, 78%, 62%)
HSVhsv(272, 65%, 92%)
CMYKcmyk(30.3%, 65.4%, 0%, 8.2%)
CIE-LABlab(51.40, 60.55, -64.18)
CIE-LCHlch(51.40, 88.23, 313.33°)
OKLaboklab(60.75% 0.1288 -0.182)
OKLCHoklch(60.75% 0.223 305.3)
XYZxyz(32.8947, 19.6121, 79.8785)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351EA #98EA51
analogous
#5751EA #A351EA #EA51E5
triadic
#A351EA #EAA351 #51EAA3
tetradic
#A351EA #EA5751 #98EA51 #51E5EA
square
#A351EA #EA5751 #98EA51 #51E5EA
split-complementary
#A351EA #E5EA51 #51EA57
monochromatic
#6615AC #861BE2 #A351EA #C088F1 #DDBEF7

Accessibility & contrast

On white

4.27
#A351EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A351EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351EA#FFFFFF#000000##000000
##A351EA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#247BE7
Tritanopia (blue-blind)
#967297
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a351ea;
/* rgb */ color: rgb(163, 81, 234);
/* oklch */ color: oklch(60.7% 0.223 305.3);
Tailwind
colors: {
  custom: {
    50: '#c387f2',
    500: '#a351ea',
    950: '#000000',
  },
}
SCSS
$custom: #a351ea;
$custom-light: #c387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a351ea",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 272.157,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.22296,
    "h": 305.3
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#A351EA
secondary
#C9E8AF
accent
#DB0B6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A351EA

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

Preview Lab → · Contrast checker → · Palette generator →

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