#A366B2#A366B2

#A366B2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.5% C 0.130 H 319.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A366B2
RGBrgb(163, 102, 178)
HSLhsl(288, 33%, 55%)
HSVhsv(288, 43%, 70%)
CMYKcmyk(8.4%, 42.7%, 0%, 30.2%)
CIE-LABlab(52.40, 37.42, -30.60)
CIE-LCHlch(52.40, 48.33, 320.73°)
OKLaboklab(60.49% 0.0987 -0.0842)
OKLCHoklch(60.49% 0.13 319.5)
XYZxyz(27.8905, 20.5045, 44.5994)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A366B2 #75B266
analogous
#7D66B2 #A366B2 #B2669B
triadic
#A366B2 #B2A366 #66B2A3
tetradic
#A366B2 #B27D66 #75B266 #669BB2
square
#A366B2 #B27D66 #75B266 #669BB2
split-complementary
#A366B2 #9BB266 #66B27D
monochromatic
#5F3569 #834992 #A366B2 #BB8FC6 #D4B7DB

Accessibility & contrast

On white

4.12
#A366B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A366B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A366B2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A366B2#FFFFFF#000000##000000
##A366B21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#A47084
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a366b2;
/* rgb */ color: rgb(163, 102, 178);
/* oklch */ color: oklch(60.5% 0.130 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf93c9',
    500: '#a366b2',
    950: '#000000',
  },
}
SCSS
$custom: #a366b2;
$custom-light: #bf93c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a366b2",
  "rgb": {
    "r": 163,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 288.158,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.12977,
    "h": 319.5
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#A366B2
secondary
#B0CAAA
accent
#C95F74
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A366B2

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

Preview Lab → · Contrast checker → · Palette generator →

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