#A281F5#A281F5

#A281F5 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.167 H 294.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A281F5
RGBrgb(162, 129, 245)
HSLhsl(257, 85%, 73%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(33.9%, 47.3%, 0%, 3.9%)
CIE-LABlab(61.63, 37.65, -53.91)
CIE-LCHlch(61.63, 65.75, 304.93°)
OKLaboklab(68.45% 0.0699 -0.152)
OKLCHoklch(68.45% 0.167 294.7)
XYZxyz(39.2278, 29.9738, 90.0873)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281F5 #D4F581
analogous
#819AF5 #A281F5 #DC81F5
triadic
#A281F5 #F5A281 #81F5A2
tetradic
#A281F5 #F5819A #D4F581 #81F5DC
square
#A281F5 #F5819A #D4F581 #81F5DC
split-complementary
#A281F5 #F5DC81 #9AF581
monochromatic
#5013E9 #7848F0 #A281F5 #CCBAF9 #EAE3FD

Accessibility & contrast

On white

3.00
#A281F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A281F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281F5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281F5#FFFFFF#000000##000000
##A281F51.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#8F97AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a281f5;
/* rgb */ color: rgb(162, 129, 245);
/* oklch */ color: oklch(68.5% 0.167 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a6f9',
    500: '#a281f5',
    950: '#000000',
  },
}
SCSS
$custom: #a281f5;
$custom-light: #c1a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a281f5",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 245
  },
  "hsl": {
    "h": 257.069,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.1673,
    "h": 294.7
  },
  "luminance": 0.29974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A281F5

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

Preview Lab → · Contrast checker → · Palette generator →

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