#A815CA#A815CA

#A815CA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 54.2% C 0.252 H 318.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A815CA
RGBrgb(168, 21, 202)
HSLhsl(289, 81%, 44%)
HSVhsv(289, 90%, 79%)
CMYKcmyk(16.8%, 89.6%, 0%, 20.8%)
CIE-LABlab(42.95, 74.88, -59.52)
CIE-LCHlch(42.95, 95.65, 321.52°)
OKLaboklab(54.23% 0.1883 -0.1678)
OKLCHoklch(54.23% 0.252 318.3)
XYZxyz(27.0758, 13.1268, 56.9732)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A815CA #37CA15
analogous
#4D15CA #A815CA #CA1591
triadic
#A815CA #CAA815 #15CAA8
tetradic
#A815CA #CA4D15 #37CA15 #1591CA
square
#A815CA #CA4D15 #37CA15 #1591CA
split-complementary
#A815CA #91CA15 #15CA4D
monochromatic
#4C095B #7A0F93 #A815CA #C732EA #D66AEF

Accessibility & contrast

On white

5.79
#A815CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A815CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A815CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A815CA#FFFFFF#000000##FFFFFF
##A815CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#A74778
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a815ca;
/* rgb */ color: rgb(168, 21, 202);
/* oklch */ color: oklch(54.2% 0.252 318.3);
Tailwind
colors: {
  custom: {
    50: '#c76ddb',
    500: '#a815ca',
    950: '#000000',
  },
}
SCSS
$custom: #a815ca;
$custom-light: #c76ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a815ca",
  "rgb": {
    "r": 168,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 288.729,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.25226,
    "h": 318.3
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#A815CA
secondary
#7BD566
accent
#F83056
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#140815
muted
#827B83

Preview Lab

Preview with #A815CA

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

Preview Lab → · Contrast checker → · Palette generator →

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