#A351E7#A351E7

#A351E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.220 H 305.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A351E7
RGBrgb(163, 81, 231)
HSLhsl(273, 76%, 61%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29.4%, 64.9%, 0%, 9.4%)
CIE-LABlab(51.20, 59.87, -62.81)
CIE-LCHlch(51.20, 86.77, 313.63°)
OKLaboklab(60.54% 0.1291 -0.178)
OKLCHoklch(60.54% 0.22 305.9)
XYZxyz(32.4674, 19.4412, 77.6279)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351E7 #95E751
analogous
#5851E7 #A351E7 #E751E0
triadic
#A351E7 #E7A351 #51E7A3
tetradic
#A351E7 #E75851 #95E751 #51E0E7
square
#A351E7 #E75851 #95E751 #51E0E7
split-complementary
#A351E7 #E0E751 #51E758
monochromatic
#6617A7 #861EDC #A351E7 #BF87EE #DCBDF6

Accessibility & contrast

On white

4.30
#A351E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A351E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351E7#FFFFFF#000000##000000
##A351E71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#977195
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a351e7;
/* rgb */ color: rgb(163, 81, 231);
/* oklch */ color: oklch(60.5% 0.220 305.9);
Tailwind
colors: {
  custom: {
    50: '#c387ef',
    500: '#a351e7',
    950: '#000000',
  },
}
SCSS
$custom: #a351e7;
$custom-light: #c387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a351e7",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 272.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.21984,
    "h": 305.9
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#A351E7
secondary
#C7E6AE
accent
#D80E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A351E7

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

Preview Lab → · Contrast checker → · Palette generator →

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