#A862DF#A862DF

#A862DF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.189 H 307.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A862DF
RGBrgb(168, 98, 223)
HSLhsl(274, 66%, 63%)
HSVhsv(274, 56%, 87%)
CMYKcmyk(24.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(54.44, 50.75, -53.07)
CIE-LCHlch(54.44, 73.43, 313.72°)
OKLaboklab(62.87% 0.1154 -0.1493)
OKLCHoklch(62.87% 0.189 307.7)
XYZxyz(33.8327, 22.3883, 72.3368)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862DF #99DF62
analogous
#6962DF #A862DF #DF62D8
triadic
#A862DF #DFA862 #62DFA8
tetradic
#A862DF #DF6962 #99DF62 #62D8DF
square
#A862DF #DF6962 #99DF62 #62D8DF
split-complementary
#A862DF #D8DF62 #62DF69
monochromatic
#6B22A5 #8C2FD5 #A862DF #C495E9 #E0C8F4

Accessibility & contrast

On white

3.83
#A862DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A862DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862DF#FFFFFF#000000##000000
##A862DF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3680E3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#A07997
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a862df;
/* rgb */ color: rgb(168, 98, 223);
/* oklch */ color: oklch(62.9% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#c591e9',
    500: '#a862df',
    950: '#000000',
  },
}
SCSS
$custom: #a862df;
$custom-light: #c591e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a862df",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 273.6,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.18875,
    "h": 307.7
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#A862DF
secondary
#CCE5B8
accent
#CE1768
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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