#A391DC#A391DC

#A391DC is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.1% C 0.109 H 294.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A391DC
RGBrgb(163, 145, 220)
HSLhsl(254, 52%, 72%)
HSVhsv(254, 34%, 86%)
CMYKcmyk(25.9%, 34.1%, 0%, 13.7%)
CIE-LABlab(64.33, 22.58, -35.83)
CIE-LCHlch(64.33, 42.35, 302.22°)
OKLaboklab(70.13% 0.0452 -0.0995)
OKLCHoklch(70.13% 0.109 294.4)
XYZxyz(38.1448, 33.2042, 72.0957)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A391DC #CADC91
analogous
#91A5DC #A391DC #C991DC
triadic
#A391DC #DCA391 #91DCA3
tetradic
#A391DC #DC91A5 #CADC91 #91DCC9
square
#A391DC #DC91A5 #CADC91 #91DCC9
split-complementary
#A391DC #DCC991 #A5DC91
monochromatic
#593BB8 #7C63CD #A391DC #CABFEB #ECE8F8

Accessibility & contrast

On white

2.75
#A391DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A391DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A391DC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A391DC#FFFFFF#000000##000000
##A391DC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DDF
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#979EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a391dc;
/* rgb */ color: rgb(163, 145, 220);
/* oklch */ color: oklch(70.1% 0.109 294.4);
Tailwind
colors: {
  custom: {
    50: '#bfb1e7',
    500: '#a391dc',
    950: '#000000',
  },
}
SCSS
$custom: #a391dc;
$custom-light: #bfb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a391dc",
  "rgb": {
    "r": 163,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 254.4,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.10928,
    "h": 294.4
  },
  "luminance": 0.33205
}

Semantic roles & 50–950 ramp

primary
#A391DC
secondary
#E9EEDB
accent
#BF269A
background
#FBFAFE
surface
#F7F5FC
border
#D0CFD5
text
#121016
muted
#817F84

Preview Lab

Preview with #A391DC

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

Preview Lab → · Contrast checker → · Palette generator →

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