#A281BC#A281BC

#A281BC is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.6% C 0.093 H 309.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A281BC
RGBrgb(162, 129, 188)
HSLhsl(274, 31%, 62%)
HSVhsv(274, 31%, 74%)
CMYKcmyk(13.8%, 31.4%, 0%, 26.3%)
CIE-LABlab(58.99, 23.99, -26.14)
CIE-LCHlch(58.99, 35.48, 312.54°)
OKLaboklab(65.59% 0.0592 -0.0717)
OKLCHoklch(65.59% 0.093 309.5)
XYZxyz(31.8260, 27.0131, 51.1046)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281BC #9BBC81
analogous
#8581BC #A281BC #BC81B9
triadic
#A281BC #BCA281 #81BCA2
tetradic
#A281BC #BC8581 #9BBC81 #81B9BC
square
#A281BC #BC8581 #9BBC81 #81B9BC
split-complementary
#A281BC #B9BC81 #81BC85
monochromatic
#65447F #8559A7 #A281BC #BFA9D1 #DDD1E6

Accessibility & contrast

On white

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

On black

6.40
#A281BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281BC#FFFFFF#000000##000000
##A281BC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a281bc;
/* rgb */ color: rgb(162, 129, 188);
/* oklch */ color: oklch(65.6% 0.093 309.5);
Tailwind
colors: {
  custom: {
    50: '#bea6d0',
    500: '#a281bc',
    950: '#000000',
  },
}
SCSS
$custom: #a281bc;
$custom-light: #bea6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a281bc",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 273.559,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65588,
    "c": 0.09299,
    "h": 309.5
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#A281BC
secondary
#CBD7C2
accent
#A93C6C
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A281BC

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

Preview Lab → · Contrast checker → · Palette generator →

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