#A281DC#A281DC

#A281DC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.1% C 0.135 H 299.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A281DC
RGBrgb(162, 129, 220)
HSLhsl(262, 57%, 68%)
HSVhsv(262, 41%, 86%)
CMYKcmyk(26.4%, 41.4%, 0%, 13.7%)
CIE-LABlab(60.38, 31.41, -42.01)
CIE-LCHlch(60.38, 52.45, 306.79°)
OKLaboklab(67.11% 0.0663 -0.1173)
OKLCHoklch(67.11% 0.135 299.5)
XYZxyz(35.6659, 28.5490, 71.3278)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281DC #BBDC81
analogous
#818DDC #A281DC #CF81DC
triadic
#A281DC #DCA281 #81DCA2
tetradic
#A281DC #DC818D #BBDC81 #81DCCF
square
#A281DC #DC818D #BBDC81 #81DCCF
split-complementary
#A281DC #DCCF81 #8DDC81
monochromatic
#6031B1 #7F51CF #A281DC #C5B1E9 #E9E1F7

Accessibility & contrast

On white

3.13
#A281DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A281DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281DC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281DC#FFFFFF#000000##000000
##A281DC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#9791A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a281dc;
/* rgb */ color: rgb(162, 129, 220);
/* oklch */ color: oklch(67.1% 0.135 299.5);
Tailwind
colors: {
  custom: {
    50: '#bfa6e7',
    500: '#a281dc',
    950: '#000000',
  },
}
SCSS
$custom: #a281dc;
$custom-light: #bfa6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a281dc",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 261.758,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67106,
    "c": 0.13476,
    "h": 299.5
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#A281DC
secondary
#E0EACF
accent
#C42189
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A281DC

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

Preview Lab → · Contrast checker → · Palette generator →

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