#A845DD#A845DD

#A845DD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.226 H 311.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A845DD
RGBrgb(168, 69, 221)
HSLhsl(279, 69%, 57%)
HSVhsv(279, 69%, 87%)
CMYKcmyk(24%, 68.8%, 0%, 13.3%)
CIE-LABlab(49.26, 64.10, -60.25)
CIE-LCHlch(49.26, 87.97, 316.77°)
OKLaboklab(59.08% 0.1492 -0.1703)
OKLCHoklch(59.08% 0.226 311.2)
XYZxyz(31.3253, 17.8023, 70.1786)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845DD #7ADD45
analogous
#5C45DD #A845DD #DD45C6
triadic
#A845DD #DDA845 #45DDA8
tetradic
#A845DD #DD5C45 #7ADD45 #45C6DD
square
#A845DD #DD5C45 #7ADD45 #45C6DD
split-complementary
#A845DD #C6DD45 #45DD5C
monochromatic
#651A8E #8A23C1 #A845DD #C079E6 #D8ACF0

Accessibility & contrast

On white

4.60
#A845DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A845DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A845DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845DD#FFFFFF#000000##FFFFFF
##A845DD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#A1658C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a845dd;
/* rgb */ color: rgb(168, 69, 221);
/* oklch */ color: oklch(59.1% 0.226 311.2);
Tailwind
colors: {
  custom: {
    50: '#c680e8',
    500: '#a845dd',
    950: '#000000',
  },
}
SCSS
$custom: #a845dd;
$custom-light: #c680e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a845dd",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 279.079,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.22635,
    "h": 311.2
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#A845DD
secondary
#B6DEA0
accent
#EC3C79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A845DD

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

Preview Lab → · Contrast checker → · Palette generator →

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