#A331B3#A331B3

#A331B3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.210 H 322.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A331B3
RGBrgb(163, 49, 179)
HSLhsl(293, 57%, 45%)
HSVhsv(293, 73%, 70%)
CMYKcmyk(8.9%, 72.6%, 0%, 29.8%)
CIE-LABlab(43.12, 62.67, -45.83)
CIE-LCHlch(43.12, 77.64, 323.82°)
OKLaboklab(53.71% 0.1667 -0.128)
OKLCHoklch(53.71% 0.21 322.5)
XYZxyz(24.3384, 13.2392, 43.9125)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A331B3 #41B331
analogous
#6231B3 #A331B3 #B33182
triadic
#A331B3 #B3A331 #31B3A3
tetradic
#A331B3 #B36231 #41B331 #3182B3
square
#A331B3 #B36231 #41B331 #3182B3
split-complementary
#A331B3 #82B331 #31B362
monochromatic
#4B1753 #772483 #A331B3 #C052D0 #D182DD

Accessibility & contrast

On white

5.76
#A331B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A331B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A331B3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A331B3#FFFFFF#000000##FFFFFF
##A331B31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#A5496F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a331b3;
/* rgb */ color: rgb(163, 49, 179);
/* oklch */ color: oklch(53.7% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#c274ca',
    500: '#a331b3',
    950: '#000000',
  },
}
SCSS
$custom: #a331b3;
$custom-light: #c274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a331b3",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 292.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.21017,
    "h": 322.5
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#A331B3
secondary
#83C67A
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A331B3

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

Preview Lab → · Contrast checker → · Palette generator →

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