#A281FA#A281FA

#A281FA is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.174 H 293.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A281FA
RGBrgb(162, 129, 250)
HSLhsl(256, 92%, 74%)
HSVhsv(256, 48%, 98%)
CMYKcmyk(35.2%, 48.4%, 0%, 2%)
CIE-LABlab(61.90, 38.93, -56.24)
CIE-LCHlch(61.90, 68.40, 304.69°)
OKLaboklab(68.74% 0.0704 -0.1588)
OKLCHoklch(68.74% 0.174 293.9)
XYZxyz(40.0014, 30.2832, 94.1617)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FA #D9FA81
analogous
#819DFA #A281FA #DF81FA
triadic
#A281FA #FAA281 #81FAA2
tetradic
#A281FA #FA819D #D9FA81 #81FADF
square
#A281FA #FA819D #D9FA81 #81FADF
split-complementary
#A281FA #FADF81 #9DFA81
monochromatic
#4B0BF5 #7746F8 #A281FA #CDBCFC #E9E2FE

Accessibility & contrast

On white

2.98
#A281FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A281FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A281FA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281FA#FFFFFF#000000##000000
##A281FA1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#8D99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281fa;
/* rgb */ color: rgb(162, 129, 250);
/* oklch */ color: oklch(68.7% 0.174 293.9);
Tailwind
colors: {
  custom: {
    50: '#c1a6fc',
    500: '#a281fa',
    950: '#000000',
  },
}
SCSS
$custom: #a281fa;
$custom-light: #c1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a281fa",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 256.364,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.17372,
    "h": 293.9
  },
  "luminance": 0.30284
}

Semantic roles & 50–950 ramp

primary
#A281FA
secondary
#EDF6D5
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A281FA

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

Preview Lab → · Contrast checker → · Palette generator →

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