#A281FB#A281FB

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

Color values

HEX#A281FB
RGBrgb(162, 129, 251)
HSLhsl(256, 94%, 75%)
HSVhsv(256, 49%, 98%)
CMYKcmyk(35.5%, 48.6%, 0%, 1.6%)
CIE-LABlab(61.95, 39.19, -56.70)
CIE-LCHlch(61.95, 68.93, 304.65°)
OKLaboklab(68.8% 0.0705 -0.1602)
OKLCHoklch(68.8% 0.175 293.8)
XYZxyz(40.1586, 30.3461, 94.9897)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281FB #DAFB81
analogous
#819DFB #A281FB #DF81FB
triadic
#A281FB #FBA281 #81FBA2
tetradic
#A281FB #FB819D #DAFB81 #81FBDF
square
#A281FB #FB819D #DAFB81 #81FBDF
split-complementary
#A281FB #FBDF81 #9DFB81
monochromatic
#4A0AF7 #7646F9 #A281FB #CEBCFD #E9E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A281FB#FFFFFF#000000##000000
##A281FB1.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)
#5497FF
Deuteranopia (green-blind)
#5A94F8
Tritanopia (blue-blind)
#8D99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a281fb;
/* rgb */ color: rgb(162, 129, 251);
/* oklch */ color: oklch(68.8% 0.175 293.8);
Tailwind
colors: {
  custom: {
    50: '#c1a6fd',
    500: '#a281fb',
    950: '#000000',
  },
}
SCSS
$custom: #a281fb;
$custom-light: #c1a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a281fb",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 256.23,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68798,
    "c": 0.175,
    "h": 293.8
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A281FB

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

Preview Lab → · Contrast checker → · Palette generator →

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