#A866BE#A866BE

#A866BE is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.7% C 0.146 H 317.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A866BE
RGBrgb(168, 102, 190)
HSLhsl(285, 40%, 57%)
HSVhsv(285, 46%, 75%)
CMYKcmyk(11.6%, 46.3%, 0%, 25.5%)
CIE-LABlab(53.54, 41.41, -35.70)
CIE-LCHlch(53.54, 54.67, 319.24°)
OKLaboklab(61.65% 0.1069 -0.0988)
OKLCHoklch(61.65% 0.146 317.2)
XYZxyz(30.1928, 21.5462, 51.2736)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866BE #7CBE66
analogous
#7C66BE #A866BE #BE66A8
triadic
#A866BE #BEA866 #66BEA8
tetradic
#A866BE #BE7C66 #7CBE66 #66A8BE
square
#A866BE #BE7C66 #7CBE66 #66A8BE
split-complementary
#A866BE #A8BE66 #66BE7C
monochromatic
#663377 #8B45A2 #A866BE #C091D0 #D9BCE2

Accessibility & contrast

On white

3.96
#A866BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A866BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866BE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866BE#FFFFFF#000000##000000
##A866BE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC1
Deuteranopia (green-blind)
#6982BC
Tritanopia (blue-blind)
#A87289
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a866be;
/* rgb */ color: rgb(168, 102, 190);
/* oklch */ color: oklch(61.7% 0.146 317.2);
Tailwind
colors: {
  custom: {
    50: '#c393d2',
    500: '#a866be',
    950: '#000000',
  },
}
SCSS
$custom: #a866be;
$custom-light: #c393d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a866be",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 285,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.14557,
    "h": 317.2
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#A866BE
secondary
#B7D2AE
accent
#D05876
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A866BE

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

Preview Lab → · Contrast checker → · Palette generator →

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