#A868F5#A868F5

#A868F5 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.1% C 0.205 H 301.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A868F5
RGBrgb(168, 104, 245)
HSLhsl(267, 88%, 68%)
HSVhsv(267, 58%, 96%)
CMYKcmyk(31.4%, 57.6%, 0%, 3.9%)
CIE-LABlab(56.90, 52.76, -61.44)
CIE-LCHlch(56.90, 80.98, 310.65°)
OKLaboklab(65.08% 0.1083 -0.1739)
OKLCHoklch(65.08% 0.205 301.9)
XYZxyz(37.5764, 24.8179, 89.1792)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A868F5 #B5F568
analogous
#686EF5 #A868F5 #EE68F5
triadic
#A868F5 #F5A868 #68F5A8
tetradic
#A868F5 #F5686E #B5F568 #68F5EE
square
#A868F5 #F5686E #B5F568 #68F5EE
split-complementary
#A868F5 #F5EE68 #6EF568
monochromatic
#680ED5 #872FF1 #A868F5 #C9A1F9 #EADBFD

Accessibility & contrast

On white

3.52
#A868F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A868F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A868F5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A868F5#FFFFFF#000000##000000
##A868F51.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#9985A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a868f5;
/* rgb */ color: rgb(168, 104, 245);
/* oklch */ color: oklch(65.1% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#c696f9',
    500: '#a868f5',
    950: '#000000',
  },
}
SCSS
$custom: #a868f5;
$custom-light: #c696f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a868f5",
  "rgb": {
    "r": 168,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 267.234,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65084,
    "c": 0.20487,
    "h": 301.9
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#A868F5
secondary
#DEF2C7
accent
#E4017D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A868F5

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

Preview Lab → · Contrast checker → · Palette generator →

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