#A388FA#A388FA

#A388FA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.163 H 292.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A388FA
RGBrgb(163, 136, 250)
HSLhsl(254, 92%, 76%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(34.8%, 45.6%, 0%, 2%)
CIE-LABlab(63.59, 35.23, -53.55)
CIE-LCHlch(63.59, 64.10, 303.34°)
OKLaboklab(70.03% 0.0627 -0.1509)
OKLCHoklch(70.03% 0.163 292.6)
XYZxyz(41.1592, 32.2961, 94.4892)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388FA #DFFA88
analogous
#88A6FA #A388FA #DC88FA
triadic
#A388FA #FAA388 #88FAA3
tetradic
#A388FA #FA88A6 #DFFA88 #88FADC
square
#A388FA #FA88A6 #DFFA88 #88FADC
split-complementary
#A388FA #FADC88 #A6FA88
monochromatic
#4813F5 #764DF8 #A388FA #D0C3FC #E8E2FE

Accessibility & contrast

On white

2.82
#A388FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#A388FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388FA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388FA#FFFFFF#000000##000000
##A388FA1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#8E9EB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a388fa;
/* rgb */ color: rgb(163, 136, 250);
/* oklch */ color: oklch(70.0% 0.163 292.6);
Tailwind
colors: {
  custom: {
    50: '#c2abfc',
    500: '#a388fa',
    950: '#000000',
  },
}
SCSS
$custom: #a388fa;
$custom-light: #c2abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a388fa",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 254.211,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.16343,
    "h": 292.6
  },
  "luminance": 0.32297
}

Semantic roles & 50–950 ramp

primary
#A388FA
secondary
#EEF6D5
accent
#E600AF
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A388FA

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

Preview Lab → · Contrast checker → · Palette generator →

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