#A481F8#A481F8

#A481F8 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.171 H 295.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A481F8
RGBrgb(164, 129, 248)
HSLhsl(258, 89%, 74%)
HSVhsv(258, 48%, 97%)
CMYKcmyk(33.9%, 48%, 0%, 2.7%)
CIE-LABlab(61.97, 38.92, -55.01)
CIE-LCHlch(61.97, 67.39, 305.28°)
OKLaboklab(68.8% 0.0726 -0.1552)
OKLCHoklch(68.8% 0.171 295.1)
XYZxyz(40.0991, 30.3696, 92.5380)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A481F8 #D5F881
analogous
#819AF8 #A481F8 #E081F8
triadic
#A481F8 #F8A481 #81F8A4
tetradic
#A481F8 #F8819A #D5F881 #81F8E0
square
#A481F8 #F8819A #D5F881 #81F8E0
split-complementary
#A481F8 #F8E081 #9AF881
monochromatic
#500DF1 #7A47F5 #A481F8 #CEBBFB #EAE2FD

Accessibility & contrast

On white

2.97
#A481F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A481F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A481F8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A481F8#FFFFFF#000000##000000
##A481F81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#9198B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a481f8;
/* rgb */ color: rgb(164, 129, 248);
/* oklch */ color: oklch(68.8% 0.171 295.1);
Tailwind
colors: {
  custom: {
    50: '#c2a6fb',
    500: '#a481f8',
    950: '#000000',
  },
}
SCSS
$custom: #a481f8;
$custom-light: #c2a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a481f8",
  "rgb": {
    "r": 164,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 257.647,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68804,
    "c": 0.17131,
    "h": 295.1
  },
  "luminance": 0.3037
}

Semantic roles & 50–950 ramp

primary
#A481F8
secondary
#ECF5D6
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A481F8

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

Preview Lab → · Contrast checker → · Palette generator →

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