#A865FB#A865FB

#A865FB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.216 H 301.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A865FB
RGBrgb(168, 101, 251)
HSLhsl(267, 95%, 69%)
HSVhsv(267, 60%, 98%)
CMYKcmyk(33.1%, 59.8%, 0%, 1.6%)
CIE-LABlab(56.68, 55.74, -65.11)
CIE-LCHlch(56.68, 85.72, 310.57°)
OKLaboklab(65.04% 0.1118 -0.1847)
OKLCHoklch(65.04% 0.216 301.2)
XYZxyz(38.2106, 24.5970, 93.9827)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A865FB #B8FB65
analogous
#656DFB #A865FB #F365FB
triadic
#A865FB #FBA865 #65FBA8
tetradic
#A865FB #FB656D #B8FB65 #65FBF3
square
#A865FB #FB656D #B8FB65 #65FBF3
split-complementary
#A865FB #FBF365 #6DFB65
monochromatic
#6706E0 #8629F9 #A865FB #CAA1FD #EBDCFE

Accessibility & contrast

On white

3.55
#A865FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A865FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A865FB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A865FB#FFFFFF#000000##000000
##A865FB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3587F8
Tritanopia (blue-blind)
#9785A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a865fb;
/* rgb */ color: rgb(168, 101, 251);
/* oklch */ color: oklch(65.0% 0.216 301.2);
Tailwind
colors: {
  custom: {
    50: '#c794fd',
    500: '#a865fb',
    950: '#000000',
  },
}
SCSS
$custom: #a865fb;
$custom-light: #c794fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a865fb",
  "rgb": {
    "r": 168,
    "g": 101,
    "b": 251
  },
  "hsl": {
    "h": 266.8,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65043,
    "c": 0.21584,
    "h": 301.2
  },
  "luminance": 0.24597
}

Semantic roles & 50–950 ramp

primary
#A865FB
secondary
#E0F4C8
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A865FB

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

Preview Lab → · Contrast checker → · Palette generator →

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