#A854ED#A854ED

#A854ED is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.223 H 306.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A854ED
RGBrgb(168, 84, 237)
HSLhsl(273, 81%, 63%)
HSVhsv(273, 65%, 93%)
CMYKcmyk(29.1%, 64.6%, 0%, 7.1%)
CIE-LABlab(52.71, 60.86, -63.72)
CIE-LCHlch(52.71, 88.11, 313.69°)
OKLaboklab(61.88% 0.1317 -0.1805)
OKLCHoklch(61.88% 0.223 306.1)
XYZxyz(34.6015, 20.7802, 82.2925)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A854ED #99ED54
analogous
#5B54ED #A854ED #ED54E6
triadic
#A854ED #EDA854 #54EDA8
tetradic
#A854ED #ED5B54 #99ED54 #54E6ED
square
#A854ED #ED5B54 #99ED54 #54E6ED
split-complementary
#A854ED #E6ED54 #54ED5B
monochromatic
#6B13B4 #8C1DE7 #A854ED #C48BF3 #E0C3F9

Accessibility & contrast

On white

4.07
#A854ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A854ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A854ED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A854ED#FFFFFF#000000##000000
##A854ED1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#2E7EEA
Tritanopia (blue-blind)
#9C7599
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a854ed;
/* rgb */ color: rgb(168, 84, 237);
/* oklch */ color: oklch(61.9% 0.223 306.1);
Tailwind
colors: {
  custom: {
    50: '#c689f4',
    500: '#a854ed',
    950: '#000000',
  },
}
SCSS
$custom: #a854ed;
$custom-light: #c689f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a854ed",
  "rgb": {
    "r": 168,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 272.941,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.22343,
    "h": 306.1
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#A854ED
secondary
#CCEAB3
accent
#DD0868
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A854ED

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

Preview Lab → · Contrast checker → · Palette generator →

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