#A861F2#A861F2

#A861F2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.211 H 303.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A861F2
RGBrgb(168, 97, 242)
HSLhsl(269, 85%, 66%)
HSVhsv(269, 60%, 95%)
CMYKcmyk(30.6%, 59.9%, 0%, 5.1%)
CIE-LABlab(55.36, 55.65, -62.23)
CIE-LCHlch(55.36, 83.48, 311.80°)
OKLaboklab(63.91% 0.1167 -0.1762)
OKLCHoklch(63.91% 0.211 303.5)
XYZxyz(36.4465, 23.2851, 86.5616)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A861F2 #ABF261
analogous
#6163F2 #A861F2 #F061F2
triadic
#A861F2 #F2A861 #61F2A8
tetradic
#A861F2 #F26163 #ABF261 #61F2F0
square
#A861F2 #F26163 #ABF261 #61F2F0
split-complementary
#A861F2 #F2F061 #63F261
monochromatic
#6A10C8 #8928ED #A861F2 #C79AF7 #E6D2FB

Accessibility & contrast

On white

3.71
#A861F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A861F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A861F2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A861F2#FFFFFF#000000##000000
##A861F21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C83F7
Deuteranopia (green-blind)
#3B84EF
Tritanopia (blue-blind)
#9A7FA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a861f2;
/* rgb */ color: rgb(168, 97, 242);
/* oklch */ color: oklch(63.9% 0.211 303.5);
Tailwind
colors: {
  custom: {
    50: '#c691f7',
    500: '#a861f2',
    950: '#000000',
  },
}
SCSS
$custom: #a861f2;
$custom-light: #c691f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a861f2",
  "rgb": {
    "r": 168,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 269.379,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.21132,
    "h": 303.5
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#A861F2
secondary
#D8EFC0
accent
#E10475
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A861F2

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

Preview Lab → · Contrast checker → · Palette generator →

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