#A862D2#A862D2

#A862D2 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.174 H 311.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A862D2
RGBrgb(168, 98, 210)
HSLhsl(278, 55%, 60%)
HSVhsv(278, 53%, 82%)
CMYKcmyk(20%, 53.3%, 0%, 17.6%)
CIE-LABlab(53.72, 47.84, -46.85)
CIE-LCHlch(53.72, 66.96, 315.60°)
OKLaboklab(62.11% 0.1148 -0.1311)
OKLCHoklch(62.11% 0.174 311.2)
XYZxyz(32.1469, 21.7140, 63.4580)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862D2 #8CD262
analogous
#7062D2 #A862D2 #D262C4
triadic
#A862D2 #D2A862 #62D2A8
tetradic
#A862D2 #D27062 #8CD262 #62C4D2
square
#A862D2 #D27062 #8CD262 #62C4D2
split-complementary
#A862D2 #C4D262 #62D270
monochromatic
#6A2990 #8D37C0 #A862D2 #C292E0 #DDC1ED

Accessibility & contrast

On white

3.93
#A862D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A862D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862D2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862D2#FFFFFF#000000##000000
##A862D21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#A37591
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a862d2;
/* rgb */ color: rgb(168, 98, 210);
/* oklch */ color: oklch(62.1% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#c491e0',
    500: '#a862d2',
    950: '#000000',
  },
}
SCSS
$custom: #a862d2;
$custom-light: #c491e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a862d2",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 277.5,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.17428,
    "h": 311.2
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#A862D2
secondary
#C3DDB3
accent
#C3235F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A862D2

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

Preview Lab → · Contrast checker → · Palette generator →

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