#A845D3#A845D3

#A845D3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.217 H 313.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A845D3
RGBrgb(168, 69, 211)
HSLhsl(282, 62%, 55%)
HSVhsv(282, 67%, 83%)
CMYKcmyk(20.4%, 67.3%, 0%, 17.3%)
CIE-LABlab(48.62, 62.03, -55.57)
CIE-LCHlch(48.62, 83.28, 318.14°)
OKLaboklab(58.42% 0.15 -0.1565)
OKLCHoklch(58.42% 0.217 313.8)
XYZxyz(30.0324, 17.2852, 63.3697)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845D3 #70D345
analogous
#6145D3 #A845D3 #D345B7
triadic
#A845D3 #D3A845 #45D3A8
tetradic
#A845D3 #D36145 #70D345 #45B7D3
square
#A845D3 #D36145 #70D345 #45B7D3
split-complementary
#A845D3 #B7D345 #45D361
monochromatic
#621E7F #882AB1 #A845D3 #BF76DF #D6A8EA

Accessibility & contrast

On white

4.71
#A845D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A845D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845D3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845D3#FFFFFF#000000##FFFFFF
##A845D31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#A46287
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a845d3;
/* rgb */ color: rgb(168, 69, 211);
/* oklch */ color: oklch(58.4% 0.217 313.8);
Tailwind
colors: {
  custom: {
    50: '#c680e1',
    500: '#a845d3',
    950: '#000000',
  },
}
SCSS
$custom: #a845d3;
$custom-light: #c680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a845d3",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 281.831,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.21682,
    "h": 313.8
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#A845D3
secondary
#AED89C
accent
#E54374
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845D3

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

Preview Lab → · Contrast checker → · Palette generator →

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