#A551EF#A551EF

#A551EF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.229 H 304.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A551EF
RGBrgb(165, 81, 239)
HSLhsl(272, 83%, 63%)
HSVhsv(272, 66%, 94%)
CMYKcmyk(31%, 66.1%, 0%, 6.3%)
CIE-LABlab(51.97, 62.09, -66.05)
CIE-LCHlch(51.97, 90.65, 313.23°)
OKLaboklab(61.32% 0.1309 -0.1874)
OKLCHoklch(61.32% 0.229 304.9)
XYZxyz(34.0360, 20.1164, 83.7344)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A551EF #9BEF51
analogous
#5651EF #A551EF #EF51EA
triadic
#A551EF #EFA551 #51EFA5
tetradic
#A551EF #EF5651 #9BEF51 #51EAEF
square
#A551EF #EF5651 #9BEF51 #51EAEF
split-complementary
#A551EF #EAEF51 #51EF56
monochromatic
#6811B5 #8819EA #A551EF #C289F4 #DFC1F9

Accessibility & contrast

On white

4.18
#A551EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A551EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A551EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A551EF#FFFFFF#000000##000000
##A551EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#1D7CEC
Tritanopia (blue-blind)
#98749A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a551ef;
/* rgb */ color: rgb(165, 81, 239);
/* oklch */ color: oklch(61.3% 0.229 304.9);
Tailwind
colors: {
  custom: {
    50: '#c587f5',
    500: '#a551ef',
    950: '#000000',
  },
}
SCSS
$custom: #a551ef;
$custom-light: #c587f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a551ef",
  "rgb": {
    "r": 165,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 271.899,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.22861,
    "h": 304.9
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#A551EF
secondary
#CCEAB1
accent
#E0066C
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A551EF

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

Preview Lab → · Contrast checker → · Palette generator →

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