#A862E9#A862E9

#A862E9 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.5% C 0.200 H 305.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A862E9
RGBrgb(168, 98, 233)
HSLhsl(271, 75%, 65%)
HSVhsv(271, 58%, 91%)
CMYKcmyk(27.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(55.01, 53.04, -57.77)
CIE-LCHlch(55.01, 78.42, 312.56°)
OKLaboklab(63.48% 0.1156 -0.1631)
OKLCHoklch(63.48% 0.2 305.3)
XYZxyz(35.2209, 22.9436, 79.6481)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862E9 #A3E962
analogous
#6462E9 #A862E9 #E962E7
triadic
#A862E9 #E9A862 #62E9A8
tetradic
#A862E9 #E96462 #A3E962 #62E7E9
square
#A862E9 #E96462 #A3E962 #62E7E9
split-complementary
#A862E9 #E7E962 #62E964
monochromatic
#6B1AB7 #8A2CE1 #A862E9 #C698F1 #E3CDF8

Accessibility & contrast

On white

3.76
#A862E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A862E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862E9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862E9#FFFFFF#000000##000000
##A862E91.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882ED
Deuteranopia (green-blind)
#4784E6
Tritanopia (blue-blind)
#9D7C9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a862e9;
/* rgb */ color: rgb(168, 98, 233);
/* oklch */ color: oklch(63.5% 0.200 305.3);
Tailwind
colors: {
  custom: {
    50: '#c591f1',
    500: '#a862e9',
    950: '#000000',
  },
}
SCSS
$custom: #a862e9;
$custom-light: #c591f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a862e9",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 271.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63478,
    "c": 0.1999,
    "h": 305.3
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#A862E9
secondary
#D3EABC
accent
#D80E6F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A862E9

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

Preview Lab → · Contrast checker → · Palette generator →

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