#A88DF7#A88DF7

#A88DF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.152 H 293.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A88DF7
RGBrgb(168, 141, 247)
HSLhsl(255, 87%, 76%)
HSVhsv(255, 43%, 97%)
CMYKcmyk(32%, 42.9%, 0%, 3.1%)
CIE-LABlab(65.03, 32.93, -49.58)
CIE-LCHlch(65.03, 59.53, 303.59°)
OKLaboklab(71.17% 0.0617 -0.1392)
OKLCHoklch(71.17% 0.152 293.9)
XYZxyz(42.4576, 34.0892, 92.3206)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88DF7 #DCF78D
analogous
#8DA7F7 #A88DF7 #DD8DF7
triadic
#A88DF7 #F7A88D #8DF7A8
tetradic
#A88DF7 #F78DA7 #DCF78D #8DF7DD
square
#A88DF7 #F78DA7 #DCF78D #8DF7DD
split-complementary
#A88DF7 #F7DD8D #A7F78D
monochromatic
#511BEF #7C54F3 #A88DF7 #D4C6FB #E9E2FD

Accessibility & contrast

On white

2.69
#A88DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A88DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88DF7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88DF7#FFFFFF#000000##000000
##A88DF71.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#96A1B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a88df7;
/* rgb */ color: rgb(168, 141, 247);
/* oklch */ color: oklch(71.2% 0.152 293.9);
Tailwind
colors: {
  custom: {
    50: '#c4aefa',
    500: '#a88df7',
    950: '#000000',
  },
}
SCSS
$custom: #a88df7;
$custom-light: #c4aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a88df7",
  "rgb": {
    "r": 168,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 255.283,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71174,
    "c": 0.15228,
    "h": 293.9
  },
  "luminance": 0.3409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A88DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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