#A45ACA#A45ACA

#A45ACA is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.176 H 312.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A45ACA
RGBrgb(164, 90, 202)
HSLhsl(280, 51%, 57%)
HSVhsv(280, 55%, 79%)
CMYKcmyk(18.8%, 55.4%, 0%, 20.8%)
CIE-LABlab(51.23, 49.21, -46.27)
CIE-LCHlch(51.23, 67.55, 316.77°)
OKLaboklab(60.04% 0.1199 -0.1295)
OKLCHoklch(60.04% 0.176 312.8)
XYZxyz(29.6248, 19.4699, 58.0631)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ACA #80CA5A
analogous
#6C5ACA #A45ACA #CA5AB8
triadic
#A45ACA #CAA45A #5ACAA4
tetradic
#A45ACA #CA6C5A #80CA5A #5AB8CA
square
#A45ACA #CA6C5A #80CA5A #5AB8CA
split-complementary
#A45ACA #B8CA5A #5ACA6C
monochromatic
#632980 #8638AF #A45ACA #BE88D9 #D7B7E8

Accessibility & contrast

On white

4.29
#A45ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A45ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ACA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ACA#FFFFFF#000000##000000
##A45ACA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#547CC7
Tritanopia (blue-blind)
#A06D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45aca;
/* rgb */ color: rgb(164, 90, 202);
/* oklch */ color: oklch(60.0% 0.176 312.8);
Tailwind
colors: {
  custom: {
    50: '#c28cdb',
    500: '#a45aca',
    950: '#000000',
  },
}
SCSS
$custom: #a45aca;
$custom-light: #c28cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45aca",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 279.643,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.17649,
    "h": 312.8
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#A45ACA
secondary
#B9D7A9
accent
#DB4D7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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