#A388F7#A388F7

#A388F7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.160 H 293.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A388F7
RGBrgb(163, 136, 247)
HSLhsl(255, 87%, 75%)
HSVhsv(255, 45%, 97%)
CMYKcmyk(34%, 44.9%, 0%, 3.1%)
CIE-LABlab(63.43, 34.46, -52.15)
CIE-LCHlch(63.43, 62.50, 303.46°)
OKLaboklab(69.86% 0.0623 -0.1468)
OKLCHoklch(69.86% 0.16 293)
XYZxyz(40.6926, 32.1094, 92.0314)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388F7 #DCF788
analogous
#88A4F7 #A388F7 #DB88F7
triadic
#A388F7 #F7A388 #88F7A3
tetradic
#A388F7 #F788A4 #DCF788 #88F7DB
square
#A388F7 #F788A4 #DCF788 #88F7DB
split-complementary
#A388F7 #F7DB88 #A4F788
monochromatic
#4A15EF #774FF3 #A388F7 #CFC1FB #E9E2FD

Accessibility & contrast

On white

2.83
#A388F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A388F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388F7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388F7#FFFFFF#000000##000000
##A388F71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#8F9DB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a388f7;
/* rgb */ color: rgb(163, 136, 247);
/* oklch */ color: oklch(69.9% 0.160 293.0);
Tailwind
colors: {
  custom: {
    50: '#c1abfa',
    500: '#a388f7',
    950: '#000000',
  },
}
SCSS
$custom: #a388f7;
$custom-light: #c1abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a388f7",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 254.595,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.1595,
    "h": 293
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#A388F7
secondary
#EEF5D6
accent
#E402AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A388F7

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

Preview Lab → · Contrast checker → · Palette generator →

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