#A381CD#A381CD

#A381CD is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.5% C 0.115 H 304.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A381CD
RGBrgb(163, 129, 205)
HSLhsl(267, 43%, 65%)
HSVhsv(267, 37%, 80%)
CMYKcmyk(20.5%, 37.1%, 0%, 19.6%)
CIE-LABlab(59.79, 28.14, -34.50)
CIE-LCHlch(59.79, 44.52, 309.20°)
OKLaboklab(66.46% 0.0645 -0.0956)
OKLCHoklch(66.46% 0.115 304)
XYZxyz(33.9717, 27.8949, 61.3403)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381CD #ABCD81
analogous
#8185CD #A381CD #C981CD
triadic
#A381CD #CDA381 #81CDA3
tetradic
#A381CD #CD8185 #ABCD81 #81CDC9
square
#A381CD #CD8185 #ABCD81 #81CDC9
split-complementary
#A381CD #CDC981 #85CD81
monochromatic
#653C97 #8355BC #A381CD #C3ADDE #E3D9F0

Accessibility & contrast

On white

3.19
#A381CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A381CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381CD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381CD#FFFFFF#000000##000000
##A381CD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a381cd;
/* rgb */ color: rgb(163, 129, 205);
/* oklch */ color: oklch(66.5% 0.115 304.0);
Tailwind
colors: {
  custom: {
    50: '#bfa6dc',
    500: '#a381cd',
    950: '#000000',
  },
}
SCSS
$custom: #a381cd;
$custom-light: #bfa6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a381cd",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 266.842,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.11535,
    "h": 304
  },
  "luminance": 0.27895
}

Semantic roles & 50–950 ramp

primary
#A381CD
secondary
#D6E2C8
accent
#B62F7A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A381CD

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

Preview Lab → · Contrast checker → · Palette generator →

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