#A388EC#A388EC

#A388EC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.3% C 0.145 H 294.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A388EC
RGBrgb(163, 136, 236)
HSLhsl(256, 72%, 73%)
HSVhsv(256, 42%, 93%)
CMYKcmyk(30.9%, 42.4%, 0%, 7.5%)
CIE-LABlab(62.89, 31.66, -46.95)
CIE-LCHlch(62.89, 56.63, 304.00°)
OKLaboklab(69.27% 0.0607 -0.1317)
OKLCHoklch(69.27% 0.145 294.8)
XYZxyz(39.0450, 31.4504, 83.3540)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388EC #D1EC88
analogous
#889FEC #A388EC #D588EC
triadic
#A388EC #ECA388 #88ECA3
tetradic
#A388EC #EC889F #D1EC88 #88ECD5
square
#A388EC #EC889F #D1EC88 #88ECD5
split-complementary
#A388EC #ECD588 #9FEC88
monochromatic
#5322D7 #7A53E4 #A388EC #CCBDF4 #EBE5FB

Accessibility & contrast

On white

2.88
#A388EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A388EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388EC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388EC#FFFFFF#000000##000000
##A388EC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#939AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a388ec;
/* rgb */ color: rgb(163, 136, 236);
/* oklch */ color: oklch(69.3% 0.145 294.8);
Tailwind
colors: {
  custom: {
    50: '#c1abf2',
    500: '#a388ec',
    950: '#000000',
  },
}
SCSS
$custom: #a388ec;
$custom-light: #c1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a388ec",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 256.2,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69271,
    "c": 0.14498,
    "h": 294.8
  },
  "luminance": 0.31451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A388EC

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

Preview Lab → · Contrast checker → · Palette generator →

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