#A862DE#A862DE

#A862DE is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.188 H 308.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A862DE
RGBrgb(168, 98, 222)
HSLhsl(274, 65%, 63%)
HSVhsv(274, 56%, 87%)
CMYKcmyk(24.3%, 55.9%, 0%, 12.9%)
CIE-LABlab(54.38, 50.52, -52.60)
CIE-LCHlch(54.38, 72.93, 313.85°)
OKLaboklab(62.81% 0.1154 -0.1479)
OKLCHoklch(62.81% 0.188 308)
XYZxyz(33.6983, 22.3346, 71.6288)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862DE #98DE62
analogous
#6A62DE #A862DE #DE62D6
triadic
#A862DE #DEA862 #62DEA8
tetradic
#A862DE #DE6A62 #98DE62 #62D6DE
square
#A862DE #DE6A62 #98DE62 #62D6DE
split-complementary
#A862DE #D6DE62 #62DE6A
monochromatic
#6B22A3 #8C2FD3 #A862DE #C495E9 #E0C7F3

Accessibility & contrast

On white

3.84
#A862DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A862DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862DE#FFFFFF#000000##000000
##A862DE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#5183DB
Tritanopia (blue-blind)
#A07997
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a862de;
/* rgb */ color: rgb(168, 98, 222);
/* oklch */ color: oklch(62.8% 0.188 308.0);
Tailwind
colors: {
  custom: {
    50: '#c591e9',
    500: '#a862de',
    950: '#000000',
  },
}
SCSS
$custom: #a862de;
$custom-light: #c591e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a862de",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 273.871,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6281,
    "c": 0.18764,
    "h": 308
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#A862DE
secondary
#CBE4B7
accent
#CD1867
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862DE

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

Preview Lab → · Contrast checker → · Palette generator →

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