#A281FD#A281FD

#A281FD is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.178 H 293.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A281FD
RGBrgb(162, 129, 253)
HSLhsl(256, 97%, 75%)
HSVhsv(256, 49%, 99%)
CMYKcmyk(36%, 49%, 0%, 0.8%)
CIE-LABlab(62.06, 39.71, -57.63)
CIE-LCHlch(62.06, 69.98, 304.57°)
OKLaboklab(68.91% 0.0707 -0.1629)
OKLCHoklch(68.91% 0.178 293.5)
XYZxyz(40.4755, 30.4729, 96.6588)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FD #DCFD81
analogous
#819EFD #A281FD #E081FD
triadic
#A281FD #FDA281 #81FDA2
tetradic
#A281FD #FD819E #DCFD81 #81FDE0
square
#A281FD #FD819E #DCFD81 #81FDE0
split-complementary
#A281FD #FDE081 #9EFD81
monochromatic
#4909FB #7645FC #A281FD #CEBDFE #E9E1FF

Accessibility & contrast

On white

2.96
#A281FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A281FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281FD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281FD#FFFFFF#000000##000000
##A281FD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#8C9AB3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281fd;
/* rgb */ color: rgb(162, 129, 253);
/* oklch */ color: oklch(68.9% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#c1a6ff',
    500: '#a281fd',
    950: '#000000',
  },
}
SCSS
$custom: #a281fd;
$custom-light: #c1a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a281fd",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 255.968,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68914,
    "c": 0.17756,
    "h": 293.5
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#A281FD
secondary
#EEF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A281FD

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

Preview Lab → · Contrast checker → · Palette generator →

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