#A845DA#A845DA

#A845DA is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.223 H 312.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A845DA
RGBrgb(168, 69, 218)
HSLhsl(280, 67%, 56%)
HSVhsv(280, 68%, 85%)
CMYKcmyk(22.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(49.06, 63.48, -58.86)
CIE-LCHlch(49.06, 86.56, 317.16°)
OKLaboklab(58.88% 0.1495 -0.1661)
OKLCHoklch(58.88% 0.223 312)
XYZxyz(30.9291, 17.6438, 68.0924)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845DA #77DA45
analogous
#5E45DA #A845DA #DA45C2
triadic
#A845DA #DAA845 #45DAA8
tetradic
#A845DA #DA5E45 #77DA45 #45C2DA
square
#A845DA #DA5E45 #77DA45 #45C2DA
split-complementary
#A845DA #C2DA45 #45DA5E
monochromatic
#641B89 #8A25BC #A845DA #C078E4 #D8ABEE

Accessibility & contrast

On white

4.64
#A845DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A845DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A845DA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845DA#FFFFFF#000000##FFFFFF
##A845DA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#3577D7
Tritanopia (blue-blind)
#A2648A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a845da;
/* rgb */ color: rgb(168, 69, 218);
/* oklch */ color: oklch(58.9% 0.223 312.0);
Tailwind
colors: {
  custom: {
    50: '#c680e6',
    500: '#a845da',
    950: '#000000',
  },
}
SCSS
$custom: #a845da;
$custom-light: #c680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a845da",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 279.866,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.22348,
    "h": 312
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#A845DA
secondary
#B3DC9F
accent
#EA3E78
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A845DA

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

Preview Lab → · Contrast checker → · Palette generator →

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