#A854EA#A854EA

#A854EA is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.220 H 306.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A854EA
RGBrgb(168, 84, 234)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 64%, 92%)
CMYKcmyk(28.2%, 64.1%, 0%, 8.2%)
CIE-LABlab(52.52, 60.19, -62.34)
CIE-LCHlch(52.52, 86.66, 313.99°)
OKLaboklab(61.68% 0.1319 -0.1765)
OKLCHoklch(61.68% 0.22 306.8)
XYZxyz(34.1669, 20.6064, 80.0034)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A854EA #96EA54
analogous
#5D54EA #A854EA #EA54E1
triadic
#A854EA #EAA854 #54EAA8
tetradic
#A854EA #EA5D54 #96EA54 #54E1EA
square
#A854EA #EA5D54 #96EA54 #54E1EA
split-complementary
#A854EA #E1EA54 #54EA5D
monochromatic
#6B15AE #8C1DE3 #A854EA #C48BF1 #DFC1F7

Accessibility & contrast

On white

4.10
#A854EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A854EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A854EA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A854EA#FFFFFF#000000##000000
##A854EA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#9D7498
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a854ea;
/* rgb */ color: rgb(168, 84, 234);
/* oklch */ color: oklch(61.7% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#c689f1',
    500: '#a854ea',
    950: '#000000',
  },
}
SCSS
$custom: #a854ea;
$custom-light: #c689f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a854ea",
  "rgb": {
    "r": 168,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 273.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.22032,
    "h": 306.8
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#A854EA
secondary
#CAE8B2
accent
#DA0B66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A854EA

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

Preview Lab → · Contrast checker → · Palette generator →

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