#A862CD#A862CD

#A862CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.169 H 312.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A862CD
RGBrgb(168, 98, 205)
HSLhsl(279, 52%, 59%)
HSVhsv(279, 52%, 80%)
CMYKcmyk(18%, 52.2%, 0%, 19.6%)
CIE-LABlab(53.46, 46.75, -44.42)
CIE-LCHlch(53.46, 64.49, 316.46°)
OKLaboklab(61.83% 0.1144 -0.1241)
OKLCHoklch(61.83% 0.169 312.7)
XYZxyz(31.5337, 21.4687, 60.2285)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862CD #87CD62
analogous
#7362CD #A862CD #CD62BD
triadic
#A862CD #CDA862 #62CDA8
tetradic
#A862CD #CD7362 #87CD62 #62BDCD
square
#A862CD #CD7362 #87CD62 #62BDCD
split-complementary
#A862CD #BDCD62 #62CD73
monochromatic
#692C89 #8C3AB7 #A862CD #C290DC #DBBFEB

Accessibility & contrast

On white

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

On black

5.29
#A862CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862CD#FFFFFF#000000##000000
##A862CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#A4748E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a862cd;
/* rgb */ color: rgb(168, 98, 205);
/* oklch */ color: oklch(61.8% 0.169 312.7);
Tailwind
colors: {
  custom: {
    50: '#c491dd',
    500: '#a862cd',
    950: '#000000',
  },
}
SCSS
$custom: #a862cd;
$custom-light: #c491dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a862cd",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 279.252,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.16874,
    "h": 312.7
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#A862CD
secondary
#BFDAB1
accent
#DB4D7E
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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