#A861F8#A861F8

#A861F8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.218 H 302.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A861F8
RGBrgb(168, 97, 248)
HSLhsl(268, 92%, 68%)
HSVhsv(268, 61%, 97%)
CMYKcmyk(32.3%, 60.9%, 0%, 2.7%)
CIE-LABlab(55.74, 57.06, -64.97)
CIE-LCHlch(55.74, 86.47, 311.29°)
OKLaboklab(64.3% 0.1164 -0.1842)
OKLCHoklch(64.3% 0.218 302.3)
XYZxyz(37.3625, 23.6515, 91.3856)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A861F8 #B1F861
analogous
#6165F8 #A861F8 #F461F8
triadic
#A861F8 #F8A861 #61F8A8
tetradic
#A861F8 #F86165 #B1F861 #61F8F4
square
#A861F8 #F86165 #B1F861 #61F8F4
split-complementary
#A861F8 #F8F461 #65F861
monochromatic
#6909D5 #8826F5 #A861F8 #C89CFB #E9D6FD

Accessibility & contrast

On white

3.66
#A861F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A861F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A861F8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A861F8#FFFFFF#000000##000000
##A861F81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#3385F5
Tritanopia (blue-blind)
#9881A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a861f8;
/* rgb */ color: rgb(168, 97, 248);
/* oklch */ color: oklch(64.3% 0.218 302.3);
Tailwind
colors: {
  custom: {
    50: '#c791fb',
    500: '#a861f8',
    950: '#000000',
  },
}
SCSS
$custom: #a861f8;
$custom-light: #c791fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a861f8",
  "rgb": {
    "r": 168,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 268.212,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.21794,
    "h": 302.3
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#A861F8
secondary
#DCF2C3
accent
#E6007A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A861F8

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

Preview Lab → · Contrast checker → · Palette generator →

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