#A351E4#A351E4

#A351E4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.217 H 306.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A351E4
RGBrgb(163, 81, 228)
HSLhsl(273, 73%, 61%)
HSVhsv(273, 64%, 89%)
CMYKcmyk(28.5%, 64.5%, 0%, 10.6%)
CIE-LABlab(51.01, 59.19, -61.43)
CIE-LCHlch(51.01, 85.31, 313.94°)
OKLaboklab(60.34% 0.1293 -0.1739)
OKLCHoklch(60.34% 0.217 306.6)
XYZxyz(32.0473, 19.2732, 75.4156)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351E4 #92E451
analogous
#5951E4 #A351E4 #E451DC
triadic
#A351E4 #E4A351 #51E4A3
tetradic
#A351E4 #E45951 #92E451 #51DCE4
square
#A351E4 #E45951 #92E451 #51DCE4
split-complementary
#A351E4 #DCE451 #51E459
monochromatic
#6519A2 #8621D7 #A351E4 #BF86EC #DBBBF4

Accessibility & contrast

On white

4.33
#A351E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A351E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351E4#FFFFFF#000000##000000
##A351E41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#987094
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a351e4;
/* rgb */ color: rgb(163, 81, 228);
/* oklch */ color: oklch(60.3% 0.217 306.6);
Tailwind
colors: {
  custom: {
    50: '#c387ed',
    500: '#a351e4',
    950: '#000000',
  },
}
SCSS
$custom: #a351e4;
$custom-light: #c387ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a351e4",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 273.469,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60341,
    "c": 0.21672,
    "h": 306.6
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#A351E4
secondary
#C5E4AC
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A351E4

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

Preview Lab → · Contrast checker → · Palette generator →

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