#A388EA#A388EA

#A388EA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.142 H 295.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A388EA
RGBrgb(163, 136, 234)
HSLhsl(257, 70%, 73%)
HSVhsv(257, 42%, 92%)
CMYKcmyk(30.3%, 41.9%, 0%, 8.2%)
CIE-LABlab(62.79, 31.16, -45.99)
CIE-LCHlch(62.79, 55.56, 304.12°)
OKLaboklab(69.17% 0.0604 -0.1289)
OKLCHoklch(69.17% 0.142 295.1)
XYZxyz(38.7560, 31.3348, 81.8323)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388EA #CFEA88
analogous
#889EEA #A388EA #D488EA
triadic
#A388EA #EAA388 #88EAA3
tetradic
#A388EA #EA889E #CFEA88 #88EAD4
square
#A388EA #EA889E #CFEA88 #88EAD4
split-complementary
#A388EA #EAD488 #9EEA88
monochromatic
#5525D2 #7B54E1 #A388EA #CBBCF3 #EBE5FA

Accessibility & contrast

On white

2.89
#A388EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A388EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388EA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388EA#FFFFFF#000000##000000
##A388EA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#6F96E8
Tritanopia (blue-blind)
#939AAE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a388ea;
/* rgb */ color: rgb(163, 136, 234);
/* oklch */ color: oklch(69.2% 0.142 295.1);
Tailwind
colors: {
  custom: {
    50: '#c0abf1',
    500: '#a388ea',
    950: '#000000',
  },
}
SCSS
$custom: #a388ea;
$custom-light: #c0abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a388ea",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 256.531,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.14233,
    "h": 295.1
  },
  "luminance": 0.31335
}

Semantic roles & 50–950 ramp

primary
#A388EA
secondary
#EBF2D9
accent
#D2149E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A388EA

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

Preview Lab → · Contrast checker → · Palette generator →

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