#A861F6#A861F6

#A861F6 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.216 H 302.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A861F6
RGBrgb(168, 97, 246)
HSLhsl(269, 89%, 67%)
HSVhsv(269, 61%, 96%)
CMYKcmyk(31.7%, 60.6%, 0%, 3.5%)
CIE-LABlab(55.61, 56.59, -64.06)
CIE-LCHlch(55.61, 85.47, 311.46°)
OKLaboklab(64.17% 0.1165 -0.1816)
OKLCHoklch(64.17% 0.216 302.7)
XYZxyz(37.0539, 23.5280, 89.7602)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A861F6 #AFF661
analogous
#6164F6 #A861F6 #F361F6
triadic
#A861F6 #F6A861 #61F6A8
tetradic
#A861F6 #F66164 #AFF661 #61F6F3
square
#A861F6 #F66164 #AFF661 #61F6F3
split-complementary
#A861F6 #F6F361 #64F661
monochromatic
#6A0CD1 #8827F3 #A861F6 #C89BF9 #E8D5FD

Accessibility & contrast

On white

3.68
#A861F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A861F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A861F6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A861F6#FFFFFF#000000##000000
##A861F61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#3685F3
Tritanopia (blue-blind)
#9980A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a861f6;
/* rgb */ color: rgb(168, 97, 246);
/* oklch */ color: oklch(64.2% 0.216 302.7);
Tailwind
colors: {
  custom: {
    50: '#c691fa',
    500: '#a861f6',
    950: '#000000',
  },
}
SCSS
$custom: #a861f6;
$custom-light: #c691fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a861f6",
  "rgb": {
    "r": 168,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 268.591,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64166,
    "c": 0.21574,
    "h": 302.7
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#A861F6
secondary
#DBF1C2
accent
#E60078
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A861F6

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

Preview Lab → · Contrast checker → · Palette generator →

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