#A862EC#A862EC

#A862EC is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.7% C 0.203 H 304.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A862EC
RGBrgb(168, 98, 236)
HSLhsl(270, 78%, 65%)
HSVhsv(270, 58%, 93%)
CMYKcmyk(28.8%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.19, 53.74, -59.16)
CIE-LCHlch(55.19, 79.92, 312.25°)
OKLaboklab(63.67% 0.1156 -0.1672)
OKLCHoklch(63.67% 0.203 304.7)
XYZxyz(35.6531, 23.1165, 81.9243)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862EC #A6EC62
analogous
#6362EC #A862EC #EC62EB
triadic
#A862EC #ECA862 #62ECA8
tetradic
#A862EC #EC6362 #A6EC62 #62EBEC
square
#A862EC #EC6362 #A6EC62 #62EBEC
split-complementary
#A862EC #EBEC62 #62EC63
monochromatic
#6B17BD #8A2BE5 #A862EC #C699F3 #E5CFF9

Accessibility & contrast

On white

3.73
#A862EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A862EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862EC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862EC#FFFFFF#000000##000000
##A862EC1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#9C7D9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a862ec;
/* rgb */ color: rgb(168, 98, 236);
/* oklch */ color: oklch(63.7% 0.203 304.7);
Tailwind
colors: {
  custom: {
    50: '#c692f3',
    500: '#a862ec',
    950: '#000000',
  },
}
SCSS
$custom: #a862ec;
$custom-light: #c692f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ec",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 270.435,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.20325,
    "h": 304.7
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#A862EC
secondary
#D5ECBE
accent
#DB0B71
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862EC

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

Preview Lab → · Contrast checker → · Palette generator →

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