#A388F9#A388F9

#A388F9 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.162 H 292.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A388F9
RGBrgb(163, 136, 249)
HSLhsl(254, 90%, 75%)
HSVhsv(254, 45%, 98%)
CMYKcmyk(34.5%, 45.4%, 0%, 2.4%)
CIE-LABlab(63.54, 34.98, -53.08)
CIE-LCHlch(63.54, 63.57, 303.38°)
OKLaboklab(69.97% 0.0626 -0.1495)
OKLCHoklch(69.97% 0.162 292.7)
XYZxyz(41.0029, 32.2335, 93.6656)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A388F9 #DEF988
analogous
#88A5F9 #A388F9 #DB88F9
triadic
#A388F9 #F9A388 #88F9A3
tetradic
#A388F9 #F988A5 #DEF988 #88F9DB
square
#A388F9 #F988A5 #DEF988 #88F9DB
split-complementary
#A388F9 #F9DB88 #A5F988
monochromatic
#4913F3 #764EF6 #A388F9 #D0C2FC #E8E2FE

Accessibility & contrast

On white

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

On black

7.45
#A388F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A388F9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A388F9#FFFFFF#000000##000000
##A388F91.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#8E9EB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a388f9;
/* rgb */ color: rgb(163, 136, 249);
/* oklch */ color: oklch(70.0% 0.162 292.7);
Tailwind
colors: {
  custom: {
    50: '#c1abfc',
    500: '#a388f9',
    950: '#000000',
  },
}
SCSS
$custom: #a388f9;
$custom-light: #c1abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a388f9",
  "rgb": {
    "r": 163,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 254.336,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.16212,
    "h": 292.7
  },
  "luminance": 0.32234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A388F9

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

Preview Lab → · Contrast checker → · Palette generator →

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