#A456D2#A456D2

#A456D2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.191 H 311.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A456D2
RGBrgb(164, 86, 210)
HSLhsl(278, 58%, 58%)
HSVhsv(278, 59%, 82%)
CMYKcmyk(21.9%, 59%, 0%, 17.6%)
CIE-LABlab(50.92, 52.98, -51.34)
CIE-LCHlch(50.92, 73.78, 315.91°)
OKLaboklab(59.96% 0.1253 -0.1443)
OKLCHoklch(59.96% 0.191 311)
XYZxyz(30.2683, 19.2019, 63.0721)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456D2 #84D256
analogous
#6656D2 #A456D2 #D256C2
triadic
#A456D2 #D2A456 #56D2A4
tetradic
#A456D2 #D26656 #84D256 #56C2D2
square
#A456D2 #D26656 #84D256 #56C2D2
split-complementary
#A456D2 #C2D256 #56D266
monochromatic
#642589 #8731B9 #A456D2 #BE86DF #D8B7EC

Accessibility & contrast

On white

4.34
#A456D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A456D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456D2#FFFFFF#000000##000000
##A456D21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2976D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#9E6D8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a456d2;
/* rgb */ color: rgb(164, 86, 210);
/* oklch */ color: oklch(60.0% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#c289e0',
    500: '#a456d2',
    950: '#000000',
  },
}
SCSS
$custom: #a456d2;
$custom-light: #c289e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a456d2",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 277.742,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.1911,
    "h": 311
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#A456D2
secondary
#BCDBA9
accent
#E14780
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A456D2

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

Preview Lab → · Contrast checker → · Palette generator →

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