#A551EB#A551EB

#A551EB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.224 H 305.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A551EB
RGBrgb(165, 81, 235)
HSLhsl(273, 79%, 62%)
HSVhsv(273, 66%, 92%)
CMYKcmyk(29.8%, 65.5%, 0%, 7.8%)
CIE-LABlab(51.70, 61.19, -64.23)
CIE-LCHlch(51.70, 88.71, 313.61°)
OKLaboklab(61.04% 0.1313 -0.1821)
OKLCHoklch(61.04% 0.224 305.8)
XYZxyz(33.4516, 19.8826, 80.6566)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A551EB #97EB51
analogous
#5851EB #A551EB #EB51E4
triadic
#A551EB #EBA551 #51EBA5
tetradic
#A551EB #EB5851 #97EB51 #51E4EB
square
#A551EB #EB5851 #97EB51 #51E4EB
split-complementary
#A551EB #E4EB51 #51EB58
monochromatic
#6814AE #891AE5 #A551EB #C188F1 #DEBFF8

Accessibility & contrast

On white

4.22
#A551EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A551EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A551EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A551EB#FFFFFF#000000##000000
##A551EB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#997297
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a551eb;
/* rgb */ color: rgb(165, 81, 235);
/* oklch */ color: oklch(61.0% 0.224 305.8);
Tailwind
colors: {
  custom: {
    50: '#c487f2',
    500: '#a551eb',
    950: '#000000',
  },
}
SCSS
$custom: #a551eb;
$custom-light: #c487f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a551eb",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 272.727,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.22448,
    "h": 305.8
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#A551EB
secondary
#C9E8B0
accent
#DC0A69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A551EB

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

Preview Lab → · Contrast checker → · Palette generator →

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