#A88AF5#A88AF5

#A88AF5 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.154 H 295.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A88AF5
RGBrgb(168, 138, 245)
HSLhsl(257, 84%, 75%)
HSVhsv(257, 44%, 96%)
CMYKcmyk(31.4%, 43.7%, 0%, 3.9%)
CIE-LABlab(64.24, 34.12, -49.75)
CIE-LCHlch(64.24, 60.32, 304.45°)
OKLaboklab(70.54% 0.0653 -0.1397)
OKLCHoklch(70.54% 0.154 295.1)
XYZxyz(41.7143, 33.0937, 90.5585)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88AF5 #D7F58A
analogous
#8AA2F5 #A88AF5 #DD8AF5
triadic
#A88AF5 #F5A88A #8AF5A8
tetradic
#A88AF5 #F58AA2 #D7F58A #8AF5DD
square
#A88AF5 #F58AA2 #D7F58A #8AF5DD
split-complementary
#A88AF5 #F5DD8A #A2F58A
monochromatic
#5419EB #7E52F0 #A88AF5 #D2C2FA #EAE3FD

Accessibility & contrast

On white

2.76
#A88AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A88AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88AF5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88AF5#FFFFFF#000000##000000
##A88AF51.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#979EB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a88af5;
/* rgb */ color: rgb(168, 138, 245);
/* oklch */ color: oklch(70.5% 0.154 295.1);
Tailwind
colors: {
  custom: {
    50: '#c4acf9',
    500: '#a88af5',
    950: '#000000',
  },
}
SCSS
$custom: #a88af5;
$custom-light: #c4acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a88af5",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 256.822,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70541,
    "c": 0.15421,
    "h": 295.1
  },
  "luminance": 0.33094
}

Semantic roles & 50–950 ramp

primary
#A88AF5
secondary
#ECF5D6
accent
#E105A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A88AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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