#A845EC#A845EC

#A845EC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.1% C 0.241 H 307.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A845EC
RGBrgb(168, 69, 236)
HSLhsl(276, 81%, 60%)
HSVhsv(276, 71%, 93%)
CMYKcmyk(28.8%, 70.8%, 0%, 7.5%)
CIE-LABlab(50.26, 67.28, -67.11)
CIE-LCHlch(50.26, 95.03, 315.07°)
OKLaboklab(60.11% 0.1473 -0.1904)
OKLCHoklch(60.11% 0.241 307.7)
XYZxyz(33.4137, 18.6377, 81.1778)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845EC #89EC45
analogous
#5545EC #A845EC #EC45DC
triadic
#A845EC #ECA845 #45ECA8
tetradic
#A845EC #EC5545 #89EC45 #45DCEC
square
#A845EC #EC5545 #89EC45 #45DCEC
split-complementary
#A845EC #DCEC45 #45EC55
monochromatic
#6911A6 #8C17DD #A845EC #C27DF2 #DCB4F7

Accessibility & contrast

On white

4.44
#A845EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A845EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A845EC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845EC#FFFFFF#000000##000000
##A845EC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0C78E8
Tritanopia (blue-blind)
#9D6C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a845ec;
/* rgb */ color: rgb(168, 69, 236);
/* oklch */ color: oklch(60.1% 0.241 307.7);
Tailwind
colors: {
  custom: {
    50: '#c781f3',
    500: '#a845ec',
    950: '#000000',
  },
}
SCSS
$custom: #a845ec;
$custom-light: #c781f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a845ec",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 236
  },
  "hsl": {
    "h": 275.569,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.2407,
    "h": 307.7
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#A845EC
secondary
#C0E7A6
accent
#F83081
background
#FCF8FF
surface
#F9EFFE
border
#D2CAD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A845EC

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

Preview Lab → · Contrast checker → · Palette generator →

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