#A862C7#A862C7

#A862C7 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.5% C 0.162 H 314.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A862C7
RGBrgb(168, 98, 199)
HSLhsl(282, 47%, 58%)
HSVhsv(282, 51%, 78%)
CMYKcmyk(15.6%, 50.8%, 0%, 22%)
CIE-LABlab(53.15, 45.45, -41.48)
CIE-LCHlch(53.15, 61.53, 317.62°)
OKLaboklab(61.51% 0.1138 -0.1155)
OKLCHoklch(61.51% 0.162 314.6)
XYZxyz(30.8233, 21.1846, 56.4871)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862C7 #81C762
analogous
#7562C7 #A862C7 #C762B3
triadic
#A862C7 #C7A862 #62C7A8
tetradic
#A862C7 #C77562 #81C762 #62B3C7
square
#A862C7 #C77562 #81C762 #62B3C7
split-complementary
#A862C7 #B3C762 #62C775
monochromatic
#672E81 #8B3EAE #A862C7 #C18FD7 #DABCE7

Accessibility & contrast

On white

4.01
#A862C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A862C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862C7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862C7#FFFFFF#000000##000000
##A862C71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#A6728B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a862c7;
/* rgb */ color: rgb(168, 98, 199);
/* oklch */ color: oklch(61.5% 0.162 314.6);
Tailwind
colors: {
  custom: {
    50: '#c491d8',
    500: '#a862c7',
    950: '#000000',
  },
}
SCSS
$custom: #a862c7;
$custom-light: #c491d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a862c7",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 281.584,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.16213,
    "h": 314.6
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#A862C7
secondary
#BBD7AE
accent
#D7517A
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #A862C7

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

Preview Lab → · Contrast checker → · Palette generator →

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