#A388FC#A388FC

#A388FC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.166 H 292.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A388FC
RGBrgb(163, 136, 252)
HSLhsl(254, 95%, 76%)
HSVhsv(254, 46%, 99%)
CMYKcmyk(35.3%, 46%, 0%, 1.2%)
CIE-LABlab(63.69, 35.75, -54.48)
CIE-LCHlch(63.69, 65.16, 303.27°)
OKLaboklab(70.14% 0.063 -0.1536)
OKLCHoklch(70.14% 0.166 292.3)
XYZxyz(41.4745, 32.4222, 96.1495)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388FC #E1FC88
analogous
#88A7FC #A388FC #DD88FC
triadic
#A388FC #FCA388 #88FCA3
tetradic
#A388FC #FC88A7 #E1FC88 #88FCDD
square
#A388FC #FC88A7 #E1FC88 #88FCDD
split-complementary
#A388FC #FCDD88 #A7FC88
monochromatic
#4711F9 #754CFA #A388FC #D1C4FE #E8E1FE

Accessibility & contrast

On white

2.81
#A388FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A388FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388FC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388FC#FFFFFF#000000##000000
##A388FC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#8D9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a388fc;
/* rgb */ color: rgb(163, 136, 252);
/* oklch */ color: oklch(70.1% 0.166 292.3);
Tailwind
colors: {
  custom: {
    50: '#c2abfe',
    500: '#a388fc',
    950: '#000000',
  },
}
SCSS
$custom: #a388fc;
$custom-light: #c2abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a388fc",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 253.966,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.16605,
    "h": 292.3
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

primary
#A388FC
secondary
#EFF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A388FC

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

Preview Lab → · Contrast checker → · Palette generator →

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