#A551E2#A551E2

#A551E2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.215 H 307.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A551E2
RGBrgb(165, 81, 226)
HSLhsl(275, 71%, 60%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(27%, 64.2%, 0%, 11.4%)
CIE-LABlab(51.12, 59.17, -60.10)
CIE-LCHlch(51.12, 84.34, 314.56°)
OKLaboklab(60.44% 0.132 -0.1699)
OKLCHoklch(60.44% 0.215 307.8)
XYZxyz(32.1841, 19.3756, 73.9812)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A551E2 #8EE251
analogous
#5D51E2 #A551E2 #E251D6
triadic
#A551E2 #E2A551 #51E2A5
tetradic
#A551E2 #E25D51 #8EE251 #51D6E2
square
#A551E2 #E25D51 #8EE251 #51D6E2
split-complementary
#A551E2 #D6E251 #51E25D
monochromatic
#671A9E #8923D3 #A551E2 #C085EB #DBBAF3

Accessibility & contrast

On white

4.31
#A551E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A551E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A551E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A551E2#FFFFFF#000000##000000
##A551E21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#9C6F93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a551e2;
/* rgb */ color: rgb(165, 81, 226);
/* oklch */ color: oklch(60.4% 0.215 307.8);
Tailwind
colors: {
  custom: {
    50: '#c487ec',
    500: '#a551e2',
    950: '#000000',
  },
}
SCSS
$custom: #a551e2;
$custom-light: #c487ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a551e2",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 274.759,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.21518,
    "h": 307.8
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#A551E2
secondary
#C3E3AC
accent
#D31263
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A551E2

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

Preview Lab → · Contrast checker → · Palette generator →

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