#A281BB#A281BB

#A281BB is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.5% C 0.092 H 310.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A281BB
RGBrgb(162, 129, 187)
HSLhsl(274, 30%, 62%)
HSVhsv(274, 31%, 73%)
CMYKcmyk(13.4%, 31%, 0%, 26.7%)
CIE-LABlab(58.95, 23.77, -25.63)
CIE-LCHlch(58.95, 34.96, 312.84°)
OKLaboklab(65.54% 0.0589 -0.0703)
OKLCHoklch(65.54% 0.092 310)
XYZxyz(31.7186, 26.9701, 50.5389)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281BB #9ABB81
analogous
#8581BB #A281BB #BB81B7
triadic
#A281BB #BBA281 #81BBA2
tetradic
#A281BB #BB8581 #9ABB81 #81B7BB
square
#A281BB #BB8581 #9ABB81 #81B7BB
split-complementary
#A281BB #B7BB81 #81BB85
monochromatic
#65447E #8559A5 #A281BB #BFA9D0 #DDD0E6

Accessibility & contrast

On white

3.28
#A281BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A281BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281BB#FFFFFF#000000##000000
##A281BB1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBD
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#9F8996
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a281bb;
/* rgb */ color: rgb(162, 129, 187);
/* oklch */ color: oklch(65.5% 0.092 310.0);
Tailwind
colors: {
  custom: {
    50: '#bea6cf',
    500: '#a281bb',
    950: '#000000',
  },
}
SCSS
$custom: #a281bb;
$custom-light: #bea6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a281bb",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 274.138,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65544,
    "c": 0.09171,
    "h": 310
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#A281BB
secondary
#CAD7C1
accent
#A93D6B
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A281BB

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

Preview Lab → · Contrast checker → · Palette generator →

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