#A862CC#A862CC

#A862CC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.168 H 313.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A862CC
RGBrgb(168, 98, 204)
HSLhsl(280, 51%, 59%)
HSVhsv(280, 52%, 80%)
CMYKcmyk(17.6%, 52%, 0%, 20%)
CIE-LABlab(53.41, 46.53, -43.93)
CIE-LCHlch(53.41, 63.99, 316.65°)
OKLaboklab(61.78% 0.1143 -0.1226)
OKLCHoklch(61.78% 0.168 313)
XYZxyz(31.4134, 21.4206, 59.5948)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862CC #86CC62
analogous
#7362CC #A862CC #CC62BB
triadic
#A862CC #CCA862 #62CCA8
tetradic
#A862CC #CC7362 #86CC62 #62BBCC
square
#A862CC #CC7362 #86CC62 #62BBCC
split-complementary
#A862CC #BBCC62 #62CC73
monochromatic
#682C88 #8C3BB6 #A862CC #C290DB #DBBEEA

Accessibility & contrast

On white

3.97
#A862CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A862CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862CC#FFFFFF#000000##000000
##A862CC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#A5738E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a862cc;
/* rgb */ color: rgb(168, 98, 204);
/* oklch */ color: oklch(61.8% 0.168 313.0);
Tailwind
colors: {
  custom: {
    50: '#c491dc',
    500: '#a862cc',
    950: '#000000',
  },
}
SCSS
$custom: #a862cc;
$custom-light: #c491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a862cc",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 279.623,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.16763,
    "h": 313
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#A862CC
secondary
#BEDAB0
accent
#DA4D7D
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A862CC

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

Preview Lab → · Contrast checker → · Palette generator →

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