#A865EB#A865EB

#A865EB is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.0% C 0.198 H 304.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A865EB
RGBrgb(168, 101, 235)
HSLhsl(270, 77%, 66%)
HSVhsv(270, 57%, 92%)
CMYKcmyk(28.5%, 57%, 0%, 7.8%)
CIE-LABlab(55.72, 51.95, -57.76)
CIE-LCHlch(55.72, 77.69, 311.97°)
OKLaboklab(64.03% 0.112 -0.1631)
OKLCHoklch(64.03% 0.198 304.5)
XYZxyz(35.7942, 23.6305, 81.2566)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A865EB #A8EB65
analogous
#6565EB #A865EB #EB65EB
triadic
#A865EB #EBA865 #65EBA8
tetradic
#A865EB #EB6565 #A8EB65 #65EBEB
square
#A865EB #EB6565 #A8EB65 #65EBEB
split-complementary
#A865EB #EBEB65 #65EB65
monochromatic
#6B19BD #892FE4 #A865EB #C79BF2 #E5D1F9

Accessibility & contrast

On white

3.67
#A865EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A865EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A865EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A865EB#FFFFFF#000000##000000
##A865EB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#9C7F9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a865eb;
/* rgb */ color: rgb(168, 101, 235);
/* oklch */ color: oklch(64.0% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#c593f2',
    500: '#a865eb',
    950: '#000000',
  },
}
SCSS
$custom: #a865eb;
$custom-light: #c593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a865eb",
  "rgb": {
    "r": 168,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.19782,
    "h": 304.5
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#A865EB
secondary
#D6ECC0
accent
#D90C73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A865EB

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

Preview Lab → · Contrast checker → · Palette generator →

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