#A862ED#A862ED

#A862ED is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.7% C 0.204 H 304.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A862ED
RGBrgb(168, 98, 237)
HSLhsl(270, 79%, 66%)
HSVhsv(270, 59%, 93%)
CMYKcmyk(29.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(55.25, 53.97, -59.62)
CIE-LCHlch(55.25, 80.42, 312.15°)
OKLaboklab(63.73% 0.1156 -0.1685)
OKLCHoklch(63.73% 0.204 304.4)
XYZxyz(35.7988, 23.1748, 82.6916)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862ED #A7ED62
analogous
#6262ED #A862ED #ED62EC
triadic
#A862ED #EDA862 #62EDA8
tetradic
#A862ED #ED6262 #A7ED62 #62ECED
square
#A862ED #ED6262 #A7ED62 #62ECED
split-complementary
#A862ED #ECED62 #62ED62
monochromatic
#6B16BF #8A2BE7 #A862ED #C699F3 #E5D0FA

Accessibility & contrast

On white

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

On black

5.64
#A862ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862ED
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862ED#FFFFFF#000000##000000
##A862ED1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F1
Deuteranopia (green-blind)
#4384EA
Tritanopia (blue-blind)
#9C7E9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a862ed;
/* rgb */ color: rgb(168, 98, 237);
/* oklch */ color: oklch(63.7% 0.204 304.4);
Tailwind
colors: {
  custom: {
    50: '#c692f3',
    500: '#a862ed',
    950: '#000000',
  },
}
SCSS
$custom: #a862ed;
$custom-light: #c692f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ed",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 270.216,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63728,
    "c": 0.20437,
    "h": 304.4
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#A862ED
secondary
#D5EDBE
accent
#DC0A72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862ED

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

Preview Lab → · Contrast checker → · Palette generator →

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