#A366BB#A366BB

#A366BB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 60.9% C 0.140 H 315.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A366BB
RGBrgb(163, 102, 187)
HSLhsl(283, 38%, 57%)
HSVhsv(283, 45%, 73%)
CMYKcmyk(12.8%, 45.5%, 0%, 26.7%)
CIE-LABlab(52.82, 39.31, -35.15)
CIE-LCHlch(52.82, 52.73, 318.19°)
OKLaboklab(60.93% 0.1003 -0.0974)
OKLCHoklch(60.93% 0.14 315.9)
XYZxyz(28.8239, 20.8779, 49.5155)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366BB #7EBB66
analogous
#7966BB #A366BB #BB66A9
triadic
#A366BB #BBA366 #66BBA3
tetradic
#A366BB #BB7966 #7EBB66 #66A9BB
square
#A366BB #BB7966 #7EBB66 #66A9BB
split-complementary
#A366BB #A9BB66 #66BB79
monochromatic
#613373 #85469E #A366BB #BC90CE #D6BBE1

Accessibility & contrast

On white

4.06
#A366BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A366BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366BB#FFFFFF#000000##000000
##A366BB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#A27288
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a366bb;
/* rgb */ color: rgb(163, 102, 187);
/* oklch */ color: oklch(60.9% 0.140 315.9);
Tailwind
colors: {
  custom: {
    50: '#c093d0',
    500: '#a366bb',
    950: '#000000',
  },
}
SCSS
$custom: #a366bb;
$custom-light: #c093d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a366bb",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 283.059,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.1398,
    "h": 315.9
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#A366BB
secondary
#B7D0AD
accent
#CE597A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A366BB

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

Preview Lab → · Contrast checker → · Palette generator →

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