#A281DD#A281DD

#A281DD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.2% C 0.136 H 299.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A281DD
RGBrgb(162, 129, 221)
HSLhsl(262, 58%, 69%)
HSVhsv(262, 42%, 87%)
CMYKcmyk(26.7%, 41.6%, 0%, 13.3%)
CIE-LABlab(60.43, 31.65, -42.49)
CIE-LCHlch(60.43, 52.98, 306.68°)
OKLaboklab(67.16% 0.0665 -0.1187)
OKLCHoklch(67.16% 0.136 299.3)
XYZxyz(35.7987, 28.6021, 72.0273)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281DD #BCDD81
analogous
#818EDD #A281DD #D081DD
triadic
#A281DD #DDA281 #81DDA2
tetradic
#A281DD #DD818E #BCDD81 #81DDD0
square
#A281DD #DD818E #BCDD81 #81DDD0
split-complementary
#A281DD #DDD081 #8EDD81
monochromatic
#5F30B3 #7E51D0 #A281DD #C6B1EA #E9E1F7

Accessibility & contrast

On white

3.12
#A281DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A281DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281DD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281DD#FFFFFF#000000##000000
##A281DD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E0
Deuteranopia (green-blind)
#6E91DB
Tritanopia (blue-blind)
#9791A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a281dd;
/* rgb */ color: rgb(162, 129, 221);
/* oklch */ color: oklch(67.2% 0.136 299.3);
Tailwind
colors: {
  custom: {
    50: '#bfa6e8',
    500: '#a281dd',
    950: '#000000',
  },
}
SCSS
$custom: #a281dd;
$custom-light: #bfa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a281dd",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 261.522,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.13607,
    "h": 299.3
  },
  "luminance": 0.28602
}

Semantic roles & 50–950 ramp

primary
#A281DD
secondary
#E1EBCF
accent
#C5208A
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A281DD

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

Preview Lab → · Contrast checker → · Palette generator →

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