#A281CD#A281CD

#A281CD is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.4% C 0.115 H 303.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A281CD
RGBrgb(162, 129, 205)
HSLhsl(266, 43%, 65%)
HSVhsv(266, 37%, 80%)
CMYKcmyk(21%, 37.1%, 0%, 19.6%)
CIE-LABlab(59.70, 27.84, -34.66)
CIE-LCHlch(59.70, 44.45, 308.77°)
OKLaboklab(66.36% 0.0633 -0.0961)
OKLCHoklch(66.36% 0.115 303.4)
XYZxyz(33.7677, 27.7897, 61.3308)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A281CD #ACCD81
analogous
#8186CD #A281CD #C881CD
triadic
#A281CD #CDA281 #81CDA2
tetradic
#A281CD #CD8186 #ACCD81 #81CDC8
square
#A281CD #CD8186 #ACCD81 #81CDC8
split-complementary
#A281CD #CDC881 #86CD81
monochromatic
#643C97 #8255BC #A281CD #C2ADDE #E3D9F0

Accessibility & contrast

On white

3.20
#A281CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A281CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A281CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A281CD#FFFFFF#000000##000000
##A281CD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#7690CB
Tritanopia (blue-blind)
#9B8D9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a281cd;
/* rgb */ color: rgb(162, 129, 205);
/* oklch */ color: oklch(66.4% 0.115 303.4);
Tailwind
colors: {
  custom: {
    50: '#bfa6dc',
    500: '#a281cd',
    950: '#000000',
  },
}
SCSS
$custom: #a281cd;
$custom-light: #bfa6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a281cd",
  "rgb": {
    "r": 162,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 266.053,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66364,
    "c": 0.11508,
    "h": 303.4
  },
  "luminance": 0.2779
}

Semantic roles & 50–950 ramp

primary
#A281CD
secondary
#D7E2C8
accent
#B62F7C
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A281CD

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

Preview Lab → · Contrast checker → · Palette generator →

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