#A867FE#A867FE

#A867FE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.216 H 300.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A867FE
RGBrgb(168, 103, 254)
HSLhsl(266, 99%, 70%)
HSVhsv(266, 59%, 100%)
CMYKcmyk(33.9%, 59.4%, 0%, 0.4%)
CIE-LABlab(57.25, 55.44, -65.85)
CIE-LCHlch(57.25, 86.08, 310.09°)
OKLaboklab(65.52% 0.1094 -0.1868)
OKLCHoklch(65.52% 0.216 300.3)
XYZxyz(38.8838, 25.1808, 96.5585)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A867FE #BDFE67
analogous
#6771FE #A867FE #F467FE
triadic
#A867FE #FEA867 #67FEA8
tetradic
#A867FE #FE6771 #BDFE67 #67FEF4
square
#A867FE #FE6771 #BDFE67 #67FEF4
split-complementary
#A867FE #FEF467 #71FE67
monochromatic
#6502E9 #852AFE #A867FE #CBA4FE #EEE1FF

Accessibility & contrast

On white

3.48
#A867FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A867FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A867FE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A867FE#FFFFFF#000000##000000
##A867FE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3488FB
Tritanopia (blue-blind)
#9687A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a867fe;
/* rgb */ color: rgb(168, 103, 254);
/* oklch */ color: oklch(65.5% 0.216 300.3);
Tailwind
colors: {
  custom: {
    50: '#c795ff',
    500: '#a867fe',
    950: '#000000',
  },
}
SCSS
$custom: #a867fe;
$custom-light: #c795ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a867fe",
  "rgb": {
    "r": 168,
    "g": 103,
    "b": 254
  },
  "hsl": {
    "h": 265.828,
    "s": 98.693,
    "l": 70
  },
  "oklch": {
    "l": 0.65518,
    "c": 0.21649,
    "h": 300.3
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

primary
#A867FE
secondary
#E3F6CB
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A867FE

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

Preview Lab → · Contrast checker → · Palette generator →

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