#A281DB#A281DB

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

Color values

HEX#A281DB
RGBrgb(162, 129, 219)
HSLhsl(262, 56%, 68%)
HSVhsv(262, 41%, 86%)
CMYKcmyk(26%, 41.1%, 0%, 14.1%)
CIE-LABlab(60.33, 31.17, -41.52)
CIE-LCHlch(60.33, 51.92, 306.89°)
OKLaboklab(67.05% 0.0661 -0.1159)
OKLCHoklch(67.05% 0.133 299.7)
XYZxyz(35.5338, 28.4962, 70.6324)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281DB #BADB81
analogous
#818DDB #A281DB #CF81DB
triadic
#A281DB #DBA281 #81DBA2
tetradic
#A281DB #DB818D #BADB81 #81DBCF
square
#A281DB #DB818D #BADB81 #81DBCF
split-complementary
#A281DB #DBCF81 #8DDB81
monochromatic
#6032AF #7F51CD #A281DB #C5B1E9 #E8E0F6

Accessibility & contrast

On white

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

On black

6.70
#A281DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281DB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281DB#FFFFFF#000000##000000
##A281DB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#6F91D9
Tritanopia (blue-blind)
#9790A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a281db;
/* rgb */ color: rgb(162, 129, 219);
/* oklch */ color: oklch(67.1% 0.133 299.7);
Tailwind
colors: {
  custom: {
    50: '#bfa6e6',
    500: '#a281db',
    950: '#000000',
  },
}
SCSS
$custom: #a281db;
$custom-light: #bfa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a281db",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 262,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67055,
    "c": 0.13345,
    "h": 299.7
  },
  "luminance": 0.28496
}

Semantic roles & 50–950 ramp

primary
#A281DB
secondary
#E0EACE
accent
#C32288
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A281DB

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

Preview Lab → · Contrast checker → · Palette generator →

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