#A862CE#A862CE

#A862CE is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.170 H 312.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A862CE
RGBrgb(168, 98, 206)
HSLhsl(279, 52%, 60%)
HSVhsv(279, 52%, 81%)
CMYKcmyk(18.4%, 52.4%, 0%, 19.2%)
CIE-LABlab(53.51, 46.96, -44.91)
CIE-LCHlch(53.51, 64.98, 316.28°)
OKLaboklab(61.89% 0.1145 -0.1255)
OKLCHoklch(61.89% 0.17 312.4)
XYZxyz(31.6548, 21.5172, 60.8663)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862CE #88CE62
analogous
#7262CE #A862CE #CE62BE
triadic
#A862CE #CEA862 #62CEA8
tetradic
#A862CE #CE7262 #88CE62 #62BECE
square
#A862CE #CE7262 #88CE62 #62BECE
split-complementary
#A862CE #BECE62 #62CE72
monochromatic
#692B8A #8C3AB9 #A862CE #C291DD #DCBFEB

Accessibility & contrast

On white

3.96
#A862CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A862CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862CE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862CE#FFFFFF#000000##000000
##A862CE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#A4748F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a862ce;
/* rgb */ color: rgb(168, 98, 206);
/* oklch */ color: oklch(61.9% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#c491dd',
    500: '#a862ce',
    950: '#000000',
  },
}
SCSS
$custom: #a862ce;
$custom-light: #c491dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ce",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 278.889,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.16984,
    "h": 312.4
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#A862CE
secondary
#C0DBB1
accent
#DC4C7F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A862CE

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

Preview Lab → · Contrast checker → · Palette generator →

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