#A867F2#A867F2

#A867F2 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.8% C 0.203 H 302.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A867F2
RGBrgb(168, 103, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 57%, 95%)
CMYKcmyk(30.6%, 57.4%, 0%, 5.1%)
CIE-LABlab(56.52, 52.56, -60.37)
CIE-LCHlch(56.52, 80.05, 311.04°)
OKLaboklab(64.75% 0.1096 -0.1708)
OKLCHoklch(64.75% 0.203 302.7)
XYZxyz(37.0220, 24.4361, 86.7534)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A867F2 #B1F267
analogous
#676BF2 #A867F2 #EE67F2
triadic
#A867F2 #F2A867 #67F2A8
tetradic
#A867F2 #F2676B #B1F267 #67F2EE
square
#A867F2 #F2676B #B1F267 #67F2EE
split-complementary
#A867F2 #F2EE67 #6BF267
monochromatic
#6912CD #882FED #A867F2 #C89FF7 #E9D8FC

Accessibility & contrast

On white

3.57
#A867F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A867F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A867F2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A867F2#FFFFFF#000000##000000
##A867F21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#9A83A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a867f2;
/* rgb */ color: rgb(168, 103, 242);
/* oklch */ color: oklch(64.8% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#c695f7',
    500: '#a867f2',
    950: '#000000',
  },
}
SCSS
$custom: #a867f2;
$custom-light: #c695f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a867f2",
  "rgb": {
    "r": 168,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 268.058,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64752,
    "c": 0.20287,
    "h": 302.7
  },
  "luminance": 0.24436
}

Semantic roles & 50–950 ramp

primary
#A867F2
secondary
#DCF0C5
accent
#E1057A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A867F2

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

Preview Lab → · Contrast checker → · Palette generator →

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