#A551EC#A551EC

#A551EC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.226 H 305.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A551EC
RGBrgb(165, 81, 236)
HSLhsl(273, 80%, 62%)
HSVhsv(273, 66%, 93%)
CMYKcmyk(30.1%, 65.7%, 0%, 7.5%)
CIE-LABlab(51.77, 61.41, -64.69)
CIE-LCHlch(51.77, 89.20, 313.51°)
OKLaboklab(61.11% 0.1312 -0.1834)
OKLCHoklch(61.11% 0.226 305.6)
XYZxyz(33.5965, 19.9406, 81.4196)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A551EC #98EC51
analogous
#5851EC #A551EC #EC51E6
triadic
#A551EC #ECA551 #51ECA5
tetradic
#A551EC #EC5851 #98EC51 #51E6EC
square
#A551EC #EC5851 #98EC51 #51E6EC
split-complementary
#A551EC #E6EC51 #51EC58
monochromatic
#6813AF #881AE6 #A551EC #C288F2 #DEBFF8

Accessibility & contrast

On white

4.21
#A551EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A551EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A551EC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A551EC#FFFFFF#000000##000000
##A551EC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#987398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a551ec;
/* rgb */ color: rgb(165, 81, 236);
/* oklch */ color: oklch(61.1% 0.226 305.6);
Tailwind
colors: {
  custom: {
    50: '#c587f3',
    500: '#a551ec',
    950: '#000000',
  },
}
SCSS
$custom: #a551ec;
$custom-light: #c587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a551ec",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 272.516,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.22551,
    "h": 305.6
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#A551EC
secondary
#CAE9B0
accent
#DD096A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A551EC

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

Preview Lab → · Contrast checker → · Palette generator →

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