#A301EC#A301EC

#A301EC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 55.6% C 0.283 H 308.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A301EC
RGBrgb(163, 1, 236)
HSLhsl(281, 99%, 46%)
HSVhsv(281, 100%, 93%)
CMYKcmyk(30.9%, 99.6%, 0%, 7.5%)
CIE-LABlab(44.04, 82.60, -77.27)
CIE-LCHlch(44.04, 113.11, 316.91°)
OKLaboklab(55.64% 0.1774 -0.22)
OKLCHoklch(55.64% 0.283 308.9)
XYZxyz(30.2523, 13.8649, 80.4231)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A301EC #4AEC01
analogous
#2E01EC #A301EC #EC01C0
triadic
#A301EC #ECA301 #01ECA3
tetradic
#A301EC #EC2E01 #4AEC01 #01C0EC
square
#A301EC #EC2E01 #4AEC01 #01C0EC
split-complementary
#A301EC #C0EC01 #01EC2E
monochromatic
#4F0072 #7901AF #A301EC #BD2CFE #D069FE

Accessibility & contrast

On white

5.57
#A301EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A301EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A301EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A301EC#FFFFFF#000000##FFFFFF
##A301EC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063F1
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#97578B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a301ec;
/* rgb */ color: rgb(163, 1, 236);
/* oklch */ color: oklch(55.6% 0.283 308.9);
Tailwind
colors: {
  custom: {
    50: '#c66bf3',
    500: '#a301ec',
    950: '#000000',
  },
}
SCSS
$custom: #a301ec;
$custom-light: #c66bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a301ec",
  "rgb": {
    "r": 163,
    "g": 1,
    "b": 236
  },
  "hsl": {
    "h": 281.362,
    "s": 99.156,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.28267,
    "h": 308.9
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#A301EC
secondary
#8DE366
accent
#FF296B
background
#FCF7FF
surface
#F9EDFE
border
#D2C8D6
text
#140817
muted
#827B85

Preview Lab

Preview with #A301EC

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

Preview Lab → · Contrast checker → · Palette generator →

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