#A862CF#A862CF

#A862CF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.171 H 312.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A862CF
RGBrgb(168, 98, 207)
HSLhsl(279, 53%, 60%)
HSVhsv(279, 53%, 81%)
CMYKcmyk(18.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(53.56, 47.18, -45.39)
CIE-LCHlch(53.56, 65.47, 316.11°)
OKLaboklab(61.94% 0.1145 -0.1269)
OKLCHoklch(61.94% 0.171 312.1)
XYZxyz(31.7766, 21.5659, 61.5081)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862CF #89CF62
analogous
#7162CF #A862CF #CF62C0
triadic
#A862CF #CFA862 #62CFA8
tetradic
#A862CF #CF7162 #89CF62 #62C0CF
square
#A862CF #CF7162 #89CF62 #62C0CF
split-complementary
#A862CF #C0CF62 #62CF71
monochromatic
#692B8C #8C39BB #A862CF #C291DD #DCC0EC

Accessibility & contrast

On white

3.95
#A862CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A862CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862CF#FFFFFF#000000##000000
##A862CF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#A4748F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a862cf;
/* rgb */ color: rgb(168, 98, 207);
/* oklch */ color: oklch(61.9% 0.171 312.1);
Tailwind
colors: {
  custom: {
    50: '#c491de',
    500: '#a862cf',
    950: '#000000',
  },
}
SCSS
$custom: #a862cf;
$custom-light: #c491de;
$custom-dark: #000000;
JSON
{
  "hex": "#a862cf",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 278.532,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.17095,
    "h": 312.1
  },
  "luminance": 0.21565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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