#A281CB#A281CB

#A281CB is a light, moderate violet. Relative luminance 0.277; OKLCH L 66.3% C 0.112 H 304.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A281CB
RGBrgb(162, 129, 203)
HSLhsl(267, 42%, 65%)
HSVhsv(267, 36%, 80%)
CMYKcmyk(20.2%, 36.5%, 0%, 20.4%)
CIE-LABlab(59.61, 27.38, -33.67)
CIE-LCHlch(59.61, 43.39, 309.12°)
OKLaboklab(66.27% 0.0629 -0.0932)
OKLCHoklch(66.27% 0.112 304)
XYZxyz(33.5278, 27.6938, 60.0675)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281CB #AACB81
analogous
#8185CB #A281CB #C781CB
triadic
#A281CB #CBA281 #81CBA2
tetradic
#A281CB #CB8185 #AACB81 #81CBC7
square
#A281CB #CB8185 #AACB81 #81CBC7
split-complementary
#A281CB #CBC781 #85CB81
monochromatic
#643D94 #8256B9 #A281CB #C2ACDD #E2D8EF

Accessibility & contrast

On white

3.21
#A281CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A281CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281CB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281CB#FFFFFF#000000##000000
##A281CB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCE
Deuteranopia (green-blind)
#7790C9
Tritanopia (blue-blind)
#9B8C9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a281cb;
/* rgb */ color: rgb(162, 129, 203);
/* oklch */ color: oklch(66.3% 0.112 304.0);
Tailwind
colors: {
  custom: {
    50: '#bea6db',
    500: '#a281cb',
    950: '#000000',
  },
}
SCSS
$custom: #a281cb;
$custom-light: #bea6db;
$custom-dark: #000000;
JSON
{
  "hex": "#a281cb",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 266.757,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.11246,
    "h": 304
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

primary
#A281CB
secondary
#D5E0C7
accent
#B5317A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A281CB

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

Preview Lab → · Contrast checker → · Palette generator →

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