#A456DF#A456DF

#A456DF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.205 H 307.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A456DF
RGBrgb(164, 86, 223)
HSLhsl(274, 68%, 61%)
HSVhsv(274, 61%, 87%)
CMYKcmyk(26.5%, 61.4%, 0%, 12.5%)
CIE-LABlab(51.70, 55.87, -57.48)
CIE-LCHlch(51.70, 80.16, 314.19°)
OKLaboklab(60.77% 0.1251 -0.1623)
OKLCHoklch(60.77% 0.205 307.6)
XYZxyz(31.9542, 19.8762, 71.9509)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456DF #91DF56
analogous
#6056DF #A456DF #DF56D5
triadic
#A456DF #DFA456 #56DFA4
tetradic
#A456DF #DF6056 #91DF56 #56D5DF
square
#A456DF #DF6056 #91DF56 #56D5DF
split-complementary
#A456DF #D5DF56 #56DF60
monochromatic
#661E9D #8827D0 #A456DF #C089E9 #DBBDF2

Accessibility & contrast

On white

4.22
#A456DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A456DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456DF#FFFFFF#000000##000000
##A456DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#9B7193
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a456df;
/* rgb */ color: rgb(164, 86, 223);
/* oklch */ color: oklch(60.8% 0.205 307.6);
Tailwind
colors: {
  custom: {
    50: '#c38aea',
    500: '#a456df',
    950: '#000000',
  },
}
SCSS
$custom: #a456df;
$custom-light: #c38aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a456df",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 274.161,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.20496,
    "h": 307.6
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#A456DF
secondary
#C5E2AE
accent
#D01566
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A456DF

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

Preview Lab → · Contrast checker → · Palette generator →

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