#A351EB#A351EB

#A351EB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.224 H 305.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A351EB
RGBrgb(163, 81, 235)
HSLhsl(272, 79%, 62%)
HSVhsv(272, 66%, 92%)
CMYKcmyk(30.6%, 65.5%, 0%, 7.8%)
CIE-LABlab(51.46, 60.78, -64.64)
CIE-LCHlch(51.46, 88.72, 313.24°)
OKLaboklab(60.82% 0.1287 -0.1834)
OKLCHoklch(60.82% 0.224 305.1)
XYZxyz(33.0388, 19.6697, 80.6373)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351EB #99EB51
analogous
#5651EB #A351EB #EB51E6
triadic
#A351EB #EBA351 #51EBA3
tetradic
#A351EB #EB5651 #99EB51 #51E6EB
square
#A351EB #EB5651 #99EB51 #51E6EB
split-complementary
#A351EB #E6EB51 #51EB56
monochromatic
#6614AE #861AE5 #A351EB #C088F1 #DDBFF8

Accessibility & contrast

On white

4.26
#A351EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A351EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351EB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351EB#FFFFFF#000000##000000
##A351EB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#967397
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a351eb;
/* rgb */ color: rgb(163, 81, 235);
/* oklch */ color: oklch(60.8% 0.224 305.1);
Tailwind
colors: {
  custom: {
    50: '#c387f2',
    500: '#a351eb',
    950: '#000000',
  },
}
SCSS
$custom: #a351eb;
$custom-light: #c387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a351eb",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 271.948,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.22401,
    "h": 305.1
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#A351EB
secondary
#CAE8B0
accent
#DC0A6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A351EB

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

Preview Lab → · Contrast checker → · Palette generator →

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