#A281DF#A281DF

#A281DF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.3% C 0.139 H 298.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A281DF
RGBrgb(162, 129, 223)
HSLhsl(261, 59%, 69%)
HSVhsv(261, 42%, 87%)
CMYKcmyk(27.4%, 42.2%, 0%, 12.5%)
CIE-LABlab(60.52, 32.14, -43.46)
CIE-LCHlch(60.52, 54.05, 306.49°)
OKLaboklab(67.26% 0.0668 -0.1215)
OKLCHoklch(67.26% 0.139 298.8)
XYZxyz(36.0667, 28.7093, 73.4391)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281DF #BEDF81
analogous
#818FDF #A281DF #D181DF
triadic
#A281DF #DFA281 #81DFA2
tetradic
#A281DF #DF818F #BEDF81 #81DFD1
square
#A281DF #DF818F #BEDF81 #81DFD1
split-complementary
#A281DF #DFD181 #8FDF81
monochromatic
#5E2FB7 #7E50D3 #A281DF #C6B2EB #EAE3F8

Accessibility & contrast

On white

3.11
#A281DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A281DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281DF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281DF#FFFFFF#000000##000000
##A281DF1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6792E2
Deuteranopia (green-blind)
#6D91DD
Tritanopia (blue-blind)
#9691A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a281df;
/* rgb */ color: rgb(162, 129, 223);
/* oklch */ color: oklch(67.3% 0.139 298.8);
Tailwind
colors: {
  custom: {
    50: '#bfa6e9',
    500: '#a281df',
    950: '#000000',
  },
}
SCSS
$custom: #a281df;
$custom-light: #bfa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a281df",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 261.064,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6726,
    "c": 0.13869,
    "h": 298.8
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#A281DF
secondary
#E2ECD0
accent
#C71E8C
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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