#A381CB#A381CB

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

Color values

HEX#A381CB
RGBrgb(163, 129, 203)
HSLhsl(268, 42%, 65%)
HSVhsv(268, 36%, 80%)
CMYKcmyk(19.7%, 36.5%, 0%, 20.4%)
CIE-LABlab(59.71, 27.68, -33.51)
CIE-LCHlch(59.71, 43.46, 309.56°)
OKLaboklab(66.36% 0.0641 -0.0928)
OKLCHoklch(66.36% 0.113 304.6)
XYZxyz(33.7318, 27.7990, 60.0770)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381CB #A9CB81
analogous
#8184CB #A381CB #C881CB
triadic
#A381CB #CBA381 #81CBA3
tetradic
#A381CB #CB8184 #A9CB81 #81CBC8
square
#A381CB #CB8184 #A9CB81 #81CBC8
split-complementary
#A381CB #CBC881 #84CB81
monochromatic
#653D94 #8356B9 #A381CB #C3ACDD #E2D8EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A381CB#FFFFFF#000000##000000
##A381CB1.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)
#718FCE
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#9D8C9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a381cb;
/* rgb */ color: rgb(163, 129, 203);
/* oklch */ color: oklch(66.4% 0.113 304.6);
Tailwind
colors: {
  custom: {
    50: '#bfa6db',
    500: '#a381cb',
    950: '#000000',
  },
}
SCSS
$custom: #a381cb;
$custom-light: #bfa6db;
$custom-dark: #000000;
JSON
{
  "hex": "#a381cb",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 267.568,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.11274,
    "h": 304.6
  },
  "luminance": 0.27799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A381CB

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

Preview Lab → · Contrast checker → · Palette generator →

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