#A862EB#A862EB

#A862EB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.6% C 0.202 H 304.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A862EB
RGBrgb(168, 98, 235)
HSLhsl(271, 77%, 65%)
HSVhsv(271, 58%, 92%)
CMYKcmyk(28.5%, 58.3%, 0%, 7.8%)
CIE-LABlab(55.13, 53.50, -58.70)
CIE-LCHlch(55.13, 79.42, 312.35°)
OKLaboklab(63.6% 0.1156 -0.1658)
OKLCHoklch(63.6% 0.202 304.9)
XYZxyz(35.5083, 23.0585, 81.1613)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862EB #A5EB62
analogous
#6362EB #A862EB #EB62E9
triadic
#A862EB #EBA862 #62EBA8
tetradic
#A862EB #EB6362 #A5EB62 #62E9EB
square
#A862EB #EB6362 #A5EB62 #62E9EB
split-complementary
#A862EB #E9EB62 #62EB63
monochromatic
#6B18BB #8A2CE4 #A862EB #C698F2 #E4CFF9

Accessibility & contrast

On white

3.74
#A862EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A862EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862EB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862EB#FFFFFF#000000##000000
##A862EB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#9C7D9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a862eb;
/* rgb */ color: rgb(168, 98, 235);
/* oklch */ color: oklch(63.6% 0.202 304.9);
Tailwind
colors: {
  custom: {
    50: '#c692f2',
    500: '#a862eb',
    950: '#000000',
  },
}
SCSS
$custom: #a862eb;
$custom-light: #c692f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a862eb",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 270.657,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.20214,
    "h": 304.9
  },
  "luminance": 0.23058
}

Semantic roles & 50–950 ramp

primary
#A862EB
secondary
#D4EBBD
accent
#DA0C70
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862EB

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

Preview Lab → · Contrast checker → · Palette generator →

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