#A381CC#A381CC

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

Color values

HEX#A381CC
RGBrgb(163, 129, 204)
HSLhsl(267, 42%, 65%)
HSVhsv(267, 37%, 80%)
CMYKcmyk(20.1%, 36.8%, 0%, 20%)
CIE-LABlab(59.75, 27.91, -34.01)
CIE-LCHlch(59.75, 43.99, 309.38°)
OKLaboklab(66.41% 0.0643 -0.0942)
OKLCHoklch(66.41% 0.114 304.3)
XYZxyz(33.8514, 27.8468, 60.7066)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A381CC #AACC81
analogous
#8184CC #A381CC #C881CC
triadic
#A381CC #CCA381 #81CCA3
tetradic
#A381CC #CC8184 #AACC81 #81CCC8
square
#A381CC #CC8184 #AACC81 #81CCC8
split-complementary
#A381CC #CCC881 #84CC81
monochromatic
#653D96 #8355BA #A381CC #C3ADDE #E3D8EF

Accessibility & contrast

On white

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

On black

6.57
#A381CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A381CC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A381CC#FFFFFF#000000##000000
##A381CC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FCF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#9D8D9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a381cc;
/* rgb */ color: rgb(163, 129, 204);
/* oklch */ color: oklch(66.4% 0.114 304.3);
Tailwind
colors: {
  custom: {
    50: '#bfa6dc',
    500: '#a381cc',
    950: '#000000',
  },
}
SCSS
$custom: #a381cc;
$custom-light: #bfa6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a381cc",
  "rgb": {
    "r": 163,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 267.2,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.11405,
    "h": 304.3
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#A381CC
secondary
#D6E1C8
accent
#B53079
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A381CC

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

Preview Lab → · Contrast checker → · Palette generator →

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