#A388EB#A388EB

#A388EB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.2% C 0.144 H 294.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A388EB
RGBrgb(163, 136, 235)
HSLhsl(256, 71%, 73%)
HSVhsv(256, 42%, 92%)
CMYKcmyk(30.6%, 42.1%, 0%, 7.8%)
CIE-LABlab(62.84, 31.41, -46.47)
CIE-LCHlch(62.84, 56.09, 304.06°)
OKLaboklab(69.22% 0.0606 -0.1303)
OKLCHoklch(69.22% 0.144 294.9)
XYZxyz(38.9001, 31.3924, 82.5910)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388EB #D0EB88
analogous
#889EEB #A388EB #D588EB
triadic
#A388EB #EBA388 #88EBA3
tetradic
#A388EB #EB889E #D0EB88 #88EBD5
square
#A388EB #EB889E #D0EB88 #88EBD5
split-complementary
#A388EB #EBD588 #9EEB88
monochromatic
#5424D5 #7A54E2 #A388EB #CCBCF4 #EBE5FB

Accessibility & contrast

On white

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

On black

7.28
#A388EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388EB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388EB#FFFFFF#000000##000000
##A388EB1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a388eb;
/* rgb */ color: rgb(163, 136, 235);
/* oklch */ color: oklch(69.2% 0.144 294.9);
Tailwind
colors: {
  custom: {
    50: '#c1abf2',
    500: '#a388eb',
    950: '#000000',
  },
}
SCSS
$custom: #a388eb;
$custom-light: #c1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a388eb",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 256.364,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69219,
    "c": 0.14366,
    "h": 294.9
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A388EB

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

Preview Lab → · Contrast checker → · Palette generator →

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