#A862FF#A862FF

#A862FF is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.9% C 0.224 H 300.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A862FF
RGBrgb(168, 98, 255)
HSLhsl(267, 100%, 69%)
HSVhsv(267, 62%, 100%)
CMYKcmyk(34.1%, 61.6%, 0%, 0%)
CIE-LABlab(56.37, 58.22, -67.83)
CIE-LCHlch(56.37, 89.39, 310.64°)
OKLaboklab(64.9% 0.115 -0.1926)
OKLCHoklch(64.9% 0.224 300.8)
XYZxyz(38.5618, 24.2800, 97.2433)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862FF #B9FF62
analogous
#626BFF #A862FF #F762FF
triadic
#A862FF #FFA862 #62FFA8
tetradic
#A862FF #FF626B #B9FF62 #62FFF7
square
#A862FF #FF626B #B9FF62 #62FFF7
split-complementary
#A862FF #FFF762 #6BFF62
monochromatic
#6700E7 #8625FF #A862FF #CA9FFF #ECDCFF

Accessibility & contrast

On white

3.59
#A862FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A862FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862FF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862FF#FFFFFF#000000##000000
##A862FF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2886FC
Tritanopia (blue-blind)
#9684A8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a862ff;
/* rgb */ color: rgb(168, 98, 255);
/* oklch */ color: oklch(64.9% 0.224 300.8);
Tailwind
colors: {
  custom: {
    50: '#c792ff',
    500: '#a862ff',
    950: '#000000',
  },
}
SCSS
$custom: #a862ff;
$custom-light: #c792ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a862ff",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 266.752,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64895,
    "c": 0.22433,
    "h": 300.8
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#A862FF
secondary
#E1F5C8
accent
#E6007F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #A862FF

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

Preview Lab → · Contrast checker → · Palette generator →

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