#A862FE#A862FE

#A862FE is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.223 H 301.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A862FE
RGBrgb(168, 98, 254)
HSLhsl(267, 99%, 69%)
HSVhsv(267, 61%, 100%)
CMYKcmyk(33.9%, 61.4%, 0%, 0.4%)
CIE-LABlab(56.30, 57.98, -67.38)
CIE-LCHlch(56.30, 88.90, 310.71°)
OKLaboklab(64.83% 0.115 -0.1913)
OKLCHoklch(64.83% 0.223 301)
XYZxyz(38.4012, 24.2157, 96.3977)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A862FE #B8FE62
analogous
#626AFE #A862FE #F662FE
triadic
#A862FE #FEA862 #62FEA8
tetradic
#A862FE #FE626A #B8FE62 #62FEF6
square
#A862FE #FE626A #B8FE62 #62FEF6
split-complementary
#A862FE #FEF662 #6AFE62
monochromatic
#6701E4 #8625FE #A862FE #CA9FFE #EBDCFF

Accessibility & contrast

On white

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

On black

5.84
#A862FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A862FE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A862FE#FFFFFF#000000##000000
##A862FE1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#9684A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a862fe;
/* rgb */ color: rgb(168, 98, 254);
/* oklch */ color: oklch(64.8% 0.223 301.0);
Tailwind
colors: {
  custom: {
    50: '#c792ff',
    500: '#a862fe',
    950: '#000000',
  },
}
SCSS
$custom: #a862fe;
$custom-light: #c792ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a862fe",
  "rgb": {
    "r": 168,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 266.923,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64829,
    "c": 0.22323,
    "h": 301
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A862FE

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

Preview Lab → · Contrast checker → · Palette generator →

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