#A862E5#A862E5

#A862E5 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.195 H 306.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A862E5
RGBrgb(168, 98, 229)
HSLhsl(272, 72%, 64%)
HSVhsv(272, 57%, 90%)
CMYKcmyk(26.6%, 57.2%, 0%, 10.2%)
CIE-LABlab(54.78, 52.12, -55.90)
CIE-LCHlch(54.78, 76.42, 312.99°)
OKLaboklab(63.23% 0.1156 -0.1576)
OKLCHoklch(63.23% 0.195 306.3)
XYZxyz(34.6560, 22.7177, 76.6728)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862E5 #9FE562
analogous
#6762E5 #A862E5 #E562E1
triadic
#A862E5 #E5A862 #62E5A8
tetradic
#A862E5 #E56762 #9FE562 #62E1E5
square
#A862E5 #E56762 #9FE562 #62E1E5
split-complementary
#A862E5 #E1E562 #62E567
monochromatic
#6B1DB0 #8B2DDC #A862E5 #C597EE #E2CBF6

Accessibility & contrast

On white

3.79
#A862E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A862E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862E5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862E5#FFFFFF#000000##000000
##A862E51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#4B84E2
Tritanopia (blue-blind)
#9E7B9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a862e5;
/* rgb */ color: rgb(168, 98, 229);
/* oklch */ color: oklch(63.2% 0.195 306.3);
Tailwind
colors: {
  custom: {
    50: '#c591ee',
    500: '#a862e5',
    950: '#000000',
  },
}
SCSS
$custom: #a862e5;
$custom-light: #c591ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a862e5",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 272.061,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.19545,
    "h": 306.3
  },
  "luminance": 0.22717
}

Semantic roles & 50–950 ramp

primary
#A862E5
secondary
#D0E8BB
accent
#D4126C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862E5

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

Preview Lab → · Contrast checker → · Palette generator →

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