#A865F2#A865F2

#A865F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.206 H 303.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A865F2
RGBrgb(168, 101, 242)
HSLhsl(269, 84%, 67%)
HSVhsv(269, 58%, 95%)
CMYKcmyk(30.6%, 58.3%, 0%, 5.1%)
CIE-LABlab(56.13, 53.60, -61.00)
CIE-LCHlch(56.13, 81.20, 311.30°)
OKLaboklab(64.47% 0.112 -0.1726)
OKLCHoklch(64.47% 0.206 303)
XYZxyz(36.8255, 24.0430, 86.6879)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A865F2 #AFF265
analogous
#6568F2 #A865F2 #EF65F2
triadic
#A865F2 #F2A865 #65F2A8
tetradic
#A865F2 #F26568 #AFF265 #65F2EF
square
#A865F2 #F26568 #AFF265 #65F2EF
split-complementary
#A865F2 #F2EF65 #68F265
monochromatic
#6A11CB #882DED #A865F2 #C89DF7 #E8D6FC

Accessibility & contrast

On white

3.62
#A865F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A865F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A865F2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A865F2#FFFFFF#000000##000000
##A865F21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#9A82A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a865f2;
/* rgb */ color: rgb(168, 101, 242);
/* oklch */ color: oklch(64.5% 0.206 303.0);
Tailwind
colors: {
  custom: {
    50: '#c694f7',
    500: '#a865f2',
    950: '#000000',
  },
}
SCSS
$custom: #a865f2;
$custom-light: #c694f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a865f2",
  "rgb": {
    "r": 168,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 268.511,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.20572,
    "h": 303
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#A865F2
secondary
#DBF0C3
accent
#E10578
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A865F2

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

Preview Lab → · Contrast checker → · Palette generator →

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