#A388EF#A388EF

#A388EF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.149 H 294.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A388EF
RGBrgb(163, 136, 239)
HSLhsl(256, 76%, 74%)
HSVhsv(256, 43%, 94%)
CMYKcmyk(31.8%, 43.1%, 0%, 6.3%)
CIE-LABlab(63.03, 32.42, -48.37)
CIE-LCHlch(63.03, 58.23, 303.83°)
OKLaboklab(69.43% 0.0612 -0.1358)
OKLCHoklch(69.43% 0.149 294.3)
XYZxyz(39.4845, 31.6262, 85.6688)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388EF #D4EF88
analogous
#88A0EF #A388EF #D688EF
triadic
#A388EF #EFA388 #88EFA3
tetradic
#A388EF #EF88A0 #D4EF88 #88EFD6
square
#A388EF #EF88A0 #D4EF88 #88EFD6
split-complementary
#A388EF #EFD688 #A0EF88
monochromatic
#501EDF #7952E8 #A388EF #CDBEF6 #EAE4FB

Accessibility & contrast

On white

2.87
#A388EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#A388EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388EF#FFFFFF#000000##000000
##A388EF1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#929BB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a388ef;
/* rgb */ color: rgb(163, 136, 239);
/* oklch */ color: oklch(69.4% 0.149 294.3);
Tailwind
colors: {
  custom: {
    50: '#c1abf5',
    500: '#a388ef',
    950: '#000000',
  },
}
SCSS
$custom: #a388ef;
$custom-light: #c1abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a388ef",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 255.728,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.14896,
    "h": 294.3
  },
  "luminance": 0.31627
}

Semantic roles & 50–950 ramp

primary
#A388EF
secondary
#ECF3D8
accent
#D80DA3
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A388EF

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

Preview Lab → · Contrast checker → · Palette generator →

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