#A337CA#A337CA

#A337CA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.223 H 315.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A337CA
RGBrgb(163, 55, 202)
HSLhsl(284, 58%, 50%)
HSVhsv(284, 73%, 79%)
CMYKcmyk(19.3%, 72.8%, 0%, 20.8%)
CIE-LABlab(45.34, 64.82, -55.71)
CIE-LCHlch(45.34, 85.47, 319.32°)
OKLaboklab(55.75% 0.1589 -0.157)
OKLCHoklch(55.75% 0.223 315.4)
XYZxyz(27.1294, 14.7842, 57.2902)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A337CA #5ECA37
analogous
#5A37CA #A337CA #CA37A7
triadic
#A337CA #CAA337 #37CAA3
tetradic
#A337CA #CA5A37 #5ECA37 #37A7CA
square
#A337CA #CA5A37 #5ECA37 #37A7CA
split-complementary
#A337CA #A7CA37 #37CA5A
monochromatic
#561C6A #7D299B #A337CA #B967D7 #D098E4

Accessibility & contrast

On white

5.31
#A337CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A337CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A337CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A337CA#FFFFFF#000000##FFFFFF
##A337CA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#A0567E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a337ca;
/* rgb */ color: rgb(163, 55, 202);
/* oklch */ color: oklch(55.7% 0.223 315.4);
Tailwind
colors: {
  custom: {
    50: '#c378db',
    500: '#a337ca',
    950: '#000000',
  },
}
SCSS
$custom: #a337ca;
$custom-light: #c378db;
$custom-dark: #000000;
JSON
{
  "hex": "#a337ca",
  "rgb": {
    "r": 163,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 284.082,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.22339,
    "h": 315.4
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#A337CA
secondary
#9FCF8E
accent
#E14670
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A337CA

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

Preview Lab → · Contrast checker → · Palette generator →

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