#A388FB#A388FB

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

Color values

HEX#A388FB
RGBrgb(163, 136, 251)
HSLhsl(254, 93%, 76%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(35.1%, 45.8%, 0%, 1.6%)
CIE-LABlab(63.64, 35.49, -54.02)
CIE-LCHlch(63.64, 64.63, 303.31°)
OKLaboklab(70.08% 0.0629 -0.1523)
OKLCHoklch(70.08% 0.165 292.4)
XYZxyz(41.3165, 32.3590, 95.3172)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388FB #E0FB88
analogous
#88A6FB #A388FB #DC88FB
triadic
#A388FB #FBA388 #88FBA3
tetradic
#A388FB #FB88A6 #E0FB88 #88FBDC
square
#A388FB #FB88A6 #E0FB88 #88FBDC
split-complementary
#A388FB #FBDC88 #A6FB88
monochromatic
#4712F7 #754DF9 #A388FB #D1C3FD #E8E1FE

Accessibility & contrast

On white

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

On black

7.47
#A388FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388FB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388FB#FFFFFF#000000##000000
##A388FB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#8E9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a388fb;
/* rgb */ color: rgb(163, 136, 251);
/* oklch */ color: oklch(70.1% 0.165 292.4);
Tailwind
colors: {
  custom: {
    50: '#c2abfd',
    500: '#a388fb',
    950: '#000000',
  },
}
SCSS
$custom: #a388fb;
$custom-light: #c2abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a388fb",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 254.087,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70084,
    "c": 0.16474,
    "h": 292.4
  },
  "luminance": 0.3236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A388FB

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

Preview Lab → · Contrast checker → · Palette generator →

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