#A862EF#A862EF

#A862EF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.207 H 304.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A862EF
RGBrgb(168, 98, 239)
HSLhsl(270, 82%, 66%)
HSVhsv(270, 59%, 94%)
CMYKcmyk(29.7%, 59%, 0%, 6.3%)
CIE-LABlab(55.37, 54.43, -60.55)
CIE-LCHlch(55.37, 81.42, 311.96°)
OKLaboklab(63.85% 0.1156 -0.1713)
OKLCHoklch(63.85% 0.207 304)
XYZxyz(36.0926, 23.2923, 84.2390)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862EF #A9EF62
analogous
#6262EF #A862EF #EE62EF
triadic
#A862EF #EFA862 #62EFA8
tetradic
#A862EF #EF6262 #A9EF62 #62EFEE
square
#A862EF #EF6262 #A9EF62 #62EFEE
split-complementary
#A862EF #EFEE62 #62EF62
monochromatic
#6B14C3 #892AE9 #A862EF #C79AF5 #E6D1FA

Accessibility & contrast

On white

3.71
#A862EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862EF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862EF#FFFFFF#000000##000000
##A862EF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F4
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#9B7E9F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a862ef;
/* rgb */ color: rgb(168, 98, 239);
/* oklch */ color: oklch(63.9% 0.207 304.0);
Tailwind
colors: {
  custom: {
    50: '#c692f5',
    500: '#a862ef',
    950: '#000000',
  },
}
SCSS
$custom: #a862ef;
$custom-light: #c692f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ef",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 269.787,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.20659,
    "h": 304
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

primary
#A862EF
secondary
#D7EEBF
accent
#DE0874
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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