#A862E7#A862E7

#A862E7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.198 H 305.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A862E7
RGBrgb(168, 98, 231)
HSLhsl(272, 73%, 65%)
HSVhsv(272, 58%, 91%)
CMYKcmyk(27.3%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.90, 52.58, -56.83)
CIE-LCHlch(54.90, 77.42, 312.77°)
OKLaboklab(63.36% 0.1156 -0.1603)
OKLCHoklch(63.36% 0.198 305.8)
XYZxyz(34.9369, 22.8300, 78.1519)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862E7 #A1E762
analogous
#6662E7 #A862E7 #E762E4
triadic
#A862E7 #E7A862 #62E7A8
tetradic
#A862E7 #E76662 #A1E762 #62E4E7
square
#A862E7 #E76662 #A1E762 #62E4E7
split-complementary
#A862E7 #E4E762 #62E766
monochromatic
#6B1BB3 #8B2DDF #A862E7 #C597EF #E3CCF7

Accessibility & contrast

On white

3.77
#A862E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A862E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862E7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862E7#FFFFFF#000000##000000
##A862E71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#4984E4
Tritanopia (blue-blind)
#9D7C9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a862e7;
/* rgb */ color: rgb(168, 98, 231);
/* oklch */ color: oklch(63.4% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#c591ef',
    500: '#a862e7',
    950: '#000000',
  },
}
SCSS
$custom: #a862e7;
$custom-light: #c591ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a862e7",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 271.579,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.19768,
    "h": 305.8
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#A862E7
secondary
#D1E9BB
accent
#D6106E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862E7

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

Preview Lab → · Contrast checker → · Palette generator →

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