#A351E5#A351E5

#A351E5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.218 H 306.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A351E5
RGBrgb(163, 81, 229)
HSLhsl(273, 74%, 61%)
HSVhsv(273, 65%, 90%)
CMYKcmyk(28.8%, 64.6%, 0%, 10.2%)
CIE-LABlab(51.07, 59.42, -61.89)
CIE-LCHlch(51.07, 85.79, 313.83°)
OKLaboklab(60.41% 0.1292 -0.1753)
OKLCHoklch(60.41% 0.218 306.4)
XYZxyz(32.1865, 19.3289, 76.1488)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351E5 #93E551
analogous
#5951E5 #A351E5 #E551DD
triadic
#A351E5 #E5A351 #51E5A3
tetradic
#A351E5 #E55951 #93E551 #51DDE5
square
#A351E5 #E55951 #93E551 #51DDE5
split-complementary
#A351E5 #DDE551 #51E559
monochromatic
#6518A3 #8620D8 #A351E5 #BF86ED #DBBBF5

Accessibility & contrast

On white

4.32
#A351E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A351E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351E5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351E5#FFFFFF#000000##000000
##A351E51.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#987094
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a351e5;
/* rgb */ color: rgb(163, 81, 229);
/* oklch */ color: oklch(60.4% 0.218 306.4);
Tailwind
colors: {
  custom: {
    50: '#c387ee',
    500: '#a351e5',
    950: '#000000',
  },
}
SCSS
$custom: #a351e5;
$custom-light: #c387ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a351e5",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 273.243,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.21776,
    "h": 306.4
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#A351E5
secondary
#C6E5AD
accent
#D60F68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A351E5

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

Preview Lab → · Contrast checker → · Palette generator →

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