#A845CE#A845CE

#A845CE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.212 H 315.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A845CE
RGBrgb(168, 69, 206)
HSLhsl(283, 58%, 54%)
HSVhsv(283, 67%, 81%)
CMYKcmyk(18.4%, 66.5%, 0%, 19.2%)
CIE-LABlab(48.31, 61.02, -53.20)
CIE-LCHlch(48.31, 80.95, 318.91°)
OKLaboklab(58.1% 0.1504 -0.1496)
OKLCHoklch(58.1% 0.212 315.2)
XYZxyz(29.4154, 17.0383, 60.1198)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845CE #6BCE45
analogous
#6445CE #A845CE #CE45B0
triadic
#A845CE #CEA845 #45CEA8
tetradic
#A845CE #CE6445 #6BCE45 #45B0CE
square
#A845CE #CE6445 #6BCE45 #45B0CE
split-complementary
#A845CE #B0CE45 #45CE64
monochromatic
#602079 #872DA9 #A845CE #BF75DB #D5A6E8

Accessibility & contrast

On white

4.76
#A845CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A845CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A845CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845CE#FFFFFF#000000##FFFFFF
##A845CE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#A56084
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a845ce;
/* rgb */ color: rgb(168, 69, 206);
/* oklch */ color: oklch(58.1% 0.212 315.2);
Tailwind
colors: {
  custom: {
    50: '#c680de',
    500: '#a845ce',
    950: '#000000',
  },
}
SCSS
$custom: #a845ce;
$custom-light: #c680de;
$custom-dark: #000000;
JSON
{
  "hex": "#a845ce",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 283.358,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.21208,
    "h": 315.2
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#A845CE
secondary
#AAD59A
accent
#E24671
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A845CE

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

Preview Lab → · Contrast checker → · Palette generator →

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