#A456E1#A456E1

#A456E1 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.207 H 307.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A456E1
RGBrgb(164, 86, 225)
HSLhsl(274, 70%, 61%)
HSVhsv(274, 62%, 88%)
CMYKcmyk(27.1%, 61.8%, 0%, 11.8%)
CIE-LABlab(51.82, 56.32, -58.42)
CIE-LCHlch(51.82, 81.15, 313.95°)
OKLaboklab(60.9% 0.125 -0.1651)
OKLCHoklch(60.9% 0.207 307.1)
XYZxyz(32.2254, 19.9847, 73.3793)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456E1 #93E156
analogous
#5E56E1 #A456E1 #E156D8
triadic
#A456E1 #E1A456 #56E1A4
tetradic
#A456E1 #E15E56 #93E156 #56D8E1
square
#A456E1 #E15E56 #93E156 #56D8E1
split-complementary
#A456E1 #D8E156 #56E15E
monochromatic
#661CA0 #8826D4 #A456E1 #C08AEA #DCBEF3

Accessibility & contrast

On white

4.20
#A456E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A456E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456E1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456E1#FFFFFF#000000##000000
##A456E11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0179E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#9A7294
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a456e1;
/* rgb */ color: rgb(164, 86, 225);
/* oklch */ color: oklch(60.9% 0.207 307.1);
Tailwind
colors: {
  custom: {
    50: '#c38aeb',
    500: '#a456e1',
    950: '#000000',
  },
}
SCSS
$custom: #a456e1;
$custom-light: #c38aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a456e1",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 273.669,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.20708,
    "h": 307.1
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#A456E1
secondary
#C6E4AF
accent
#D21467
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A456E1

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

Preview Lab → · Contrast checker → · Palette generator →

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