#A88AFA#A88AFA

#A88AFA is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.161 H 294.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A88AFA
RGBrgb(168, 138, 250)
HSLhsl(256, 92%, 76%)
HSVhsv(256, 45%, 98%)
CMYKcmyk(32.8%, 44.8%, 0%, 2%)
CIE-LABlab(64.49, 35.38, -52.09)
CIE-LCHlch(64.49, 62.98, 304.19°)
OKLaboklab(70.81% 0.066 -0.1465)
OKLCHoklch(70.81% 0.161 294.3)
XYZxyz(42.4879, 33.4032, 94.6329)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88AFA #DCFA8A
analogous
#8AA4FA #A88AFA #E08AFA
triadic
#A88AFA #FAA88A #8AFAA8
tetradic
#A88AFA #FA8AA4 #DCFA8A #8AFAE0
square
#A88AFA #FA8AA4 #DCFA8A #8AFAE0
split-complementary
#A88AFA #FAE08A #A4FA8A
monochromatic
#5115F5 #7C4FF7 #A88AFA #D4C5FD #E9E2FE

Accessibility & contrast

On white

2.73
#A88AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A88AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88AFA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88AFA#FFFFFF#000000##000000
##A88AFA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6A9BF7
Tritanopia (blue-blind)
#959FB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a88afa;
/* rgb */ color: rgb(168, 138, 250);
/* oklch */ color: oklch(70.8% 0.161 294.3);
Tailwind
colors: {
  custom: {
    50: '#c5acfc',
    500: '#a88afa',
    950: '#000000',
  },
}
SCSS
$custom: #a88afa;
$custom-light: #c5acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a88afa",
  "rgb": {
    "r": 168,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 256.071,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.16073,
    "h": 294.3
  },
  "luminance": 0.33404
}

Semantic roles & 50–950 ramp

primary
#A88AFA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A88AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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