#A845E0#A845E0

#A845E0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.229 H 310.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A845E0
RGBrgb(168, 69, 224)
HSLhsl(278, 71%, 57%)
HSVhsv(278, 69%, 88%)
CMYKcmyk(25%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.45, 64.73, -61.64)
CIE-LCHlch(49.45, 89.38, 316.40°)
OKLaboklab(59.28% 0.1488 -0.1743)
OKLCHoklch(59.28% 0.229 310.5)
XYZxyz(31.7285, 17.9636, 72.3025)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845E0 #7DE045
analogous
#5B45E0 #A845E0 #E045CA
triadic
#A845E0 #E0A845 #45E0A8
tetradic
#A845E0 #E05B45 #7DE045 #45CAE0
square
#A845E0 #E05B45 #7DE045 #45CAE0
split-complementary
#A845E0 #CAE045 #45E05B
monochromatic
#661892 #8B21C7 #A845E0 #C179E9 #D9AEF1

Accessibility & contrast

On white

4.57
#A845E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A845E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A845E0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845E0#FFFFFF#000000##000000
##A845E01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2C77DD
Tritanopia (blue-blind)
#A0678E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a845e0;
/* rgb */ color: rgb(168, 69, 224);
/* oklch */ color: oklch(59.3% 0.229 310.5);
Tailwind
colors: {
  custom: {
    50: '#c680ea',
    500: '#a845e0',
    950: '#000000',
  },
}
SCSS
$custom: #a845e0;
$custom-light: #c680ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a845e0",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 278.323,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.22921,
    "h": 310.5
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#A845E0
secondary
#B8E0A1
accent
#EE3A7B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #A845E0

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

Preview Lab → · Contrast checker → · Palette generator →

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