#A854E8#A854E8

#A854E8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.218 H 307.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A854E8
RGBrgb(168, 84, 232)
HSLhsl(274, 76%, 62%)
HSVhsv(274, 64%, 91%)
CMYKcmyk(27.6%, 63.8%, 0%, 9%)
CIE-LABlab(52.39, 59.74, -61.42)
CIE-LCHlch(52.39, 85.68, 314.21°)
OKLaboklab(61.55% 0.1321 -0.1738)
OKLCHoklch(61.55% 0.218 307.2)
XYZxyz(33.8812, 20.4921, 78.4988)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A854E8 #94E854
analogous
#5E54E8 #A854E8 #E854DE
triadic
#A854E8 #E8A854 #54E8A8
tetradic
#A854E8 #E85E54 #94E854 #54DEE8
square
#A854E8 #E85E54 #94E854 #54DEE8
split-complementary
#A854E8 #DEE854 #54E85E
monochromatic
#6B17AB #8D1EE1 #A854E8 #C38AEF #DFC0F7

Accessibility & contrast

On white

4.12
#A854E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A854E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A854E8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A854E8#FFFFFF#000000##000000
##A854E81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#9E7397
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a854e8;
/* rgb */ color: rgb(168, 84, 232);
/* oklch */ color: oklch(61.6% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#c689f0',
    500: '#a854e8',
    950: '#000000',
  },
}
SCSS
$custom: #a854e8;
$custom-light: #c689f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a854e8",
  "rgb": {
    "r": 168,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 274.054,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.21824,
    "h": 307.2
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#A854E8
secondary
#C8E7B1
accent
#D80D65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A854E8

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

Preview Lab → · Contrast checker → · Palette generator →

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