#A862DA#A862DA

#A862DA is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.183 H 309.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A862DA
RGBrgb(168, 98, 218)
HSLhsl(275, 62%, 62%)
HSVhsv(275, 55%, 85%)
CMYKcmyk(22.9%, 55%, 0%, 14.5%)
CIE-LABlab(54.16, 49.62, -50.69)
CIE-LCHlch(54.16, 70.94, 314.39°)
OKLaboklab(62.57% 0.1153 -0.1424)
OKLCHoklch(62.57% 0.183 309)
XYZxyz(33.1686, 22.1227, 68.8389)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862DA #94DA62
analogous
#6C62DA #A862DA #DA62D0
triadic
#A862DA #DAA862 #62DAA8
tetradic
#A862DA #DA6C62 #94DA62 #62D0DA
square
#A862DA #DA6C62 #94DA62 #62D0DA
split-complementary
#A862DA #D0DA62 #62DA6C
monochromatic
#6B259D #8D31CE #A862DA #C394E6 #DFC5F1

Accessibility & contrast

On white

3.87
#A862DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A862DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862DA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862DA#FFFFFF#000000##000000
##A862DA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#A17895
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a862da;
/* rgb */ color: rgb(168, 98, 218);
/* oklch */ color: oklch(62.6% 0.183 309.0);
Tailwind
colors: {
  custom: {
    50: '#c591e6',
    500: '#a862da',
    950: '#000000',
  },
}
SCSS
$custom: #a862da;
$custom-light: #c591e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a862da",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 275,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62574,
    "c": 0.18318,
    "h": 309
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#A862DA
secondary
#C8E2B6
accent
#CA1C64
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862DA

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

Preview Lab → · Contrast checker → · Palette generator →

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