#A854EB#A854EB

#A854EB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.8% C 0.221 H 306.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A854EB
RGBrgb(168, 84, 235)
HSLhsl(273, 79%, 63%)
HSVhsv(273, 64%, 92%)
CMYKcmyk(28.5%, 64.3%, 0%, 7.8%)
CIE-LABlab(52.58, 60.41, -62.80)
CIE-LCHlch(52.58, 87.14, 313.89°)
OKLaboklab(61.75% 0.1318 -0.1778)
OKLCHoklch(61.75% 0.221 306.6)
XYZxyz(34.3110, 20.6640, 80.7622)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A854EB #97EB54
analogous
#5C54EB #A854EB #EB54E3
triadic
#A854EB #EBA854 #54EBA8
tetradic
#A854EB #EB5C54 #97EB54 #54E3EB
square
#A854EB #EB5C54 #97EB54 #54E3EB
split-complementary
#A854EB #E3EB54 #54EB5C
monochromatic
#6B15B0 #8C1DE5 #A854EB #C48BF1 #E0C2F8

Accessibility & contrast

On white

4.09
#A854EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A854EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A854EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A854EB#FFFFFF#000000##000000
##A854EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#9D7498
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a854eb;
/* rgb */ color: rgb(168, 84, 235);
/* oklch */ color: oklch(61.8% 0.221 306.6);
Tailwind
colors: {
  custom: {
    50: '#c689f2',
    500: '#a854eb',
    950: '#000000',
  },
}
SCSS
$custom: #a854eb;
$custom-light: #c689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a854eb",
  "rgb": {
    "r": 168,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 273.377,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.22136,
    "h": 306.6
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#A854EB
secondary
#CAE9B2
accent
#DB0A67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A854EB

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

Preview Lab → · Contrast checker → · Palette generator →

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