#A331BC#A331BC

#A331BC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 319.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A331BC
RGBrgb(163, 49, 188)
HSLhsl(289, 59%, 46%)
HSVhsv(289, 74%, 74%)
CMYKcmyk(13.3%, 73.9%, 0%, 26.3%)
CIE-LABlab(43.68, 64.32, -50.23)
CIE-LCHlch(43.68, 81.61, 322.01°)
OKLaboklab(54.28% 0.166 -0.1409)
OKLCHoklch(54.28% 0.218 319.7)
XYZxyz(25.2785, 13.6153, 48.8637)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331BC #4ABC31
analogous
#5E31BC #A331BC #BC3190
triadic
#A331BC #BCA331 #31BCA3
tetradic
#A331BC #BC5E31 #4ABC31 #3190BC
square
#A331BC #BC5E31 #4ABC31 #3190BC
split-complementary
#A331BC #90BC31 #31BC5E
monochromatic
#4F185B #79248B #A331BC #BD57D3 #D088E0

Accessibility & contrast

On white

5.64
#A331BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A331BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331BC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331BC#FFFFFF#000000##FFFFFF
##A331BC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#A34D74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a331bc;
/* rgb */ color: rgb(163, 49, 188);
/* oklch */ color: oklch(54.3% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#c275d1',
    500: '#a331bc',
    950: '#000000',
  },
}
SCSS
$custom: #a331bc;
$custom-light: #c275d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a331bc",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 289.209,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.21774,
    "h": 319.7
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#A331BC
secondary
#8DCA7F
accent
#E24662
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A331BC

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

Preview Lab → · Contrast checker → · Palette generator →

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