#A88BF7#A88BF7

#A88BF7 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.8% C 0.155 H 294.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A88BF7
RGBrgb(168, 139, 247)
HSLhsl(256, 87%, 76%)
HSVhsv(256, 44%, 97%)
CMYKcmyk(32%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.57, 34.06, -50.32)
CIE-LCHlch(64.57, 60.77, 304.09°)
OKLaboklab(70.82% 0.0643 -0.1414)
OKLCHoklch(70.82% 0.155 294.5)
XYZxyz(42.1653, 33.5048, 92.2232)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88BF7 #DAF78B
analogous
#8BA4F7 #A88BF7 #DE8BF7
triadic
#A88BF7 #F7A88B #8BF7A8
tetradic
#A88BF7 #F78BA4 #DAF78B #8BF7DE
square
#A88BF7 #F78BA4 #DAF78B #8BF7DE
split-complementary
#A88BF7 #F7DE8B #A4F78B
monochromatic
#5218EF #7D52F3 #A88BF7 #D3C4FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.70
#A88BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88BF7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88BF7#FFFFFF#000000##000000
##A88BF71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#969FB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a88bf7;
/* rgb */ color: rgb(168, 139, 247);
/* oklch */ color: oklch(70.8% 0.155 294.5);
Tailwind
colors: {
  custom: {
    50: '#c5adfa',
    500: '#a88bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a88bf7;
$custom-light: #c5adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a88bf7",
  "rgb": {
    "r": 168,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 256.111,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.15531,
    "h": 294.5
  },
  "luminance": 0.33505
}

Semantic roles & 50–950 ramp

primary
#A88BF7
secondary
#EDF5D6
accent
#E402A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A88BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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