#A862EA#A862EA

#A862EA is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.5% C 0.201 H 305.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A862EA
RGBrgb(168, 98, 234)
HSLhsl(271, 76%, 65%)
HSVhsv(271, 58%, 92%)
CMYKcmyk(28.2%, 58.1%, 0%, 8.2%)
CIE-LABlab(55.07, 53.27, -58.23)
CIE-LCHlch(55.07, 78.92, 312.45°)
OKLaboklab(63.54% 0.1156 -0.1645)
OKLCHoklch(63.54% 0.201 305.1)
XYZxyz(35.3642, 23.0009, 80.4025)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862EA #A4EA62
analogous
#6462EA #A862EA #EA62E8
triadic
#A862EA #EAA862 #62EAA8
tetradic
#A862EA #EA6462 #A4EA62 #62E8EA
square
#A862EA #EA6462 #A4EA62 #62E8EA
split-complementary
#A862EA #E8EA62 #62EA64
monochromatic
#6B19B9 #8A2CE3 #A862EA #C698F1 #E4CEF8

Accessibility & contrast

On white

3.75
#A862EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A862EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862EA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862EA#FFFFFF#000000##000000
##A862EA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EE
Deuteranopia (green-blind)
#4684E7
Tritanopia (blue-blind)
#9D7D9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a862ea;
/* rgb */ color: rgb(168, 98, 234);
/* oklch */ color: oklch(63.5% 0.201 305.1);
Tailwind
colors: {
  custom: {
    50: '#c692f1',
    500: '#a862ea',
    950: '#000000',
  },
}
SCSS
$custom: #a862ea;
$custom-light: #c692f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ea",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 270.882,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6354,
    "c": 0.20102,
    "h": 305.1
  },
  "luminance": 0.23001
}

Semantic roles & 50–950 ramp

primary
#A862EA
secondary
#D3EBBD
accent
#D90D70
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862EA

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

Preview Lab → · Contrast checker → · Palette generator →

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