#A381BC#A381BC

#A381BC is a light, moderate violet. Relative luminance 0.271; OKLCH L 65.7% C 0.093 H 310.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A381BC
RGBrgb(163, 129, 188)
HSLhsl(275, 31%, 62%)
HSVhsv(275, 31%, 74%)
CMYKcmyk(13.3%, 31.4%, 0%, 26.3%)
CIE-LABlab(59.08, 24.31, -25.98)
CIE-LCHlch(59.08, 35.58, 313.09°)
OKLaboklab(65.69% 0.0603 -0.0713)
OKLCHoklch(65.69% 0.093 310.3)
XYZxyz(32.0300, 27.1182, 51.1142)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381BC #9ABC81
analogous
#8681BC #A381BC #BC81B8
triadic
#A381BC #BCA381 #81BCA3
tetradic
#A381BC #BC8681 #9ABC81 #81B8BC
square
#A381BC #BC8681 #9ABC81 #81B8BC
split-complementary
#A381BC #B8BC81 #81BC86
monochromatic
#66447F #8659A7 #A381BC #C0A9D1 #DDD1E6

Accessibility & contrast

On white

3.27
#A381BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A381BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381BC#FFFFFF#000000##000000
##A381BC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778DBE
Deuteranopia (green-blind)
#7E8FBA
Tritanopia (blue-blind)
#A08996
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a381bc;
/* rgb */ color: rgb(163, 129, 188);
/* oklch */ color: oklch(65.7% 0.093 310.3);
Tailwind
colors: {
  custom: {
    50: '#bfa6d0',
    500: '#a381bc',
    950: '#000000',
  },
}
SCSS
$custom: #a381bc;
$custom-light: #bfa6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a381bc",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 274.576,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65685,
    "c": 0.09338,
    "h": 310.3
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A381BC

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

Preview Lab → · Contrast checker → · Palette generator →

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