#A481EC#A481EC

#A481EC is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.156 H 297.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A481EC
RGBrgb(164, 129, 236)
HSLhsl(260, 74%, 72%)
HSVhsv(260, 45%, 93%)
CMYKcmyk(30.5%, 45.3%, 0%, 7.5%)
CIE-LABlab(61.35, 35.89, -49.37)
CIE-LCHlch(61.35, 61.04, 306.02°)
OKLaboklab(68.14% 0.0712 -0.1387)
OKLCHoklch(68.14% 0.156 297.2)
XYZxyz(38.2967, 29.6487, 83.0457)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481EC #C9EC81
analogous
#8194EC #A481EC #DA81EC
triadic
#A481EC #ECA481 #81ECA4
tetradic
#A481EC #EC8194 #C9EC81 #81ECDA
square
#A481EC #EC8194 #C9EC81 #81ECDA
split-complementary
#A481EC #ECDA81 #94EC81
monochromatic
#5A20D3 #7E4CE4 #A481EC #CAB6F4 #ECE4FB

Accessibility & contrast

On white

3.03
#A481EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A481EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A481EC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481EC#FFFFFF#000000##000000
##A481EC1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#9595AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a481ec;
/* rgb */ color: rgb(164, 129, 236);
/* oklch */ color: oklch(68.1% 0.156 297.2);
Tailwind
colors: {
  custom: {
    50: '#c2a6f2',
    500: '#a481ec',
    950: '#000000',
  },
}
SCSS
$custom: #a481ec;
$custom-light: #c2a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a481ec",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 259.626,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.15589,
    "h": 297.2
  },
  "luminance": 0.29649
}

Semantic roles & 50–950 ramp

primary
#A481EC
secondary
#E9F2D7
accent
#D61095
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A481EC

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

Preview Lab → · Contrast checker → · Palette generator →

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