#A456CD#A456CD

#A456CD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.186 H 312.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A456CD
RGBrgb(164, 86, 205)
HSLhsl(279, 54%, 57%)
HSVhsv(279, 58%, 80%)
CMYKcmyk(20%, 58%, 0%, 19.6%)
CIE-LABlab(50.64, 51.90, -48.93)
CIE-LCHlch(50.64, 71.33, 316.68°)
OKLaboklab(59.66% 0.1252 -0.1373)
OKLCHoklch(59.66% 0.186 312.4)
XYZxyz(29.6551, 18.9566, 59.8426)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A456CD #7FCD56
analogous
#6956CD #A456CD #CD56BA
triadic
#A456CD #CDA456 #56CDA4
tetradic
#A456CD #CD6956 #7FCD56 #56BACD
square
#A456CD #CD6956 #7FCD56 #56BACD
split-complementary
#A456CD #BACD56 #56CD69
monochromatic
#632682 #8634B1 #A456CD #BD85DB #D7B4E9

Accessibility & contrast

On white

4.38
#A456CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A456CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A456CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A456CD#FFFFFF#000000##000000
##A456CD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#A06B89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a456cd;
/* rgb */ color: rgb(164, 86, 205);
/* oklch */ color: oklch(59.7% 0.186 312.4);
Tailwind
colors: {
  custom: {
    50: '#c289dd',
    500: '#a456cd',
    950: '#000000',
  },
}
SCSS
$custom: #a456cd;
$custom-light: #c289dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a456cd",
  "rgb": {
    "r": 164,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 279.328,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.18579,
    "h": 312.4
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#A456CD
secondary
#B8D8A7
accent
#DE4A7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A456CD

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

Preview Lab → · Contrast checker → · Palette generator →

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