#A862DB#A862DB

#A862DB is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.184 H 308.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A862DB
RGBrgb(168, 98, 219)
HSLhsl(275, 63%, 62%)
HSVhsv(275, 55%, 86%)
CMYKcmyk(23.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(54.21, 49.84, -51.17)
CIE-LCHlch(54.21, 71.43, 314.25°)
OKLaboklab(62.63% 0.1153 -0.1438)
OKLCHoklch(62.63% 0.184 308.7)
XYZxyz(33.2998, 22.1752, 69.5301)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862DB #95DB62
analogous
#6C62DB #A862DB #DB62D1
triadic
#A862DB #DBA862 #62DBA8
tetradic
#A862DB #DB6C62 #95DB62 #62D1DB
square
#A862DB #DB6C62 #95DB62 #62D1DB
split-complementary
#A862DB #D1DB62 #62DB6C
monochromatic
#6B249E #8C30D0 #A862DB #C494E6 #DFC6F2

Accessibility & contrast

On white

3.86
#A862DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#A862DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862DB#FFFFFF#000000##000000
##A862DB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#5383D8
Tritanopia (blue-blind)
#A17895
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a862db;
/* rgb */ color: rgb(168, 98, 219);
/* oklch */ color: oklch(62.6% 0.184 308.7);
Tailwind
colors: {
  custom: {
    50: '#c591e7',
    500: '#a862db',
    950: '#000000',
  },
}
SCSS
$custom: #a862db;
$custom-light: #c591e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a862db",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 274.711,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62632,
    "c": 0.18429,
    "h": 308.7
  },
  "luminance": 0.22175
}

Semantic roles & 50–950 ramp

primary
#A862DB
secondary
#C9E3B6
accent
#CA1B65
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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