#A88EF2#A88EF2

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

Color values

HEX#A88EF2
RGBrgb(168, 142, 242)
HSLhsl(256, 79%, 75%)
HSVhsv(256, 41%, 95%)
CMYKcmyk(30.6%, 41.3%, 0%, 5.1%)
CIE-LABlab(65.03, 31.11, -46.85)
CIE-LCHlch(65.03, 56.24, 303.59°)
OKLaboklab(71.09% 0.0596 -0.1313)
OKLCHoklch(71.09% 0.144 294.4)
XYZxyz(41.8445, 34.0810, 88.3609)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88EF2 #D8F28E
analogous
#8EA6F2 #A88EF2 #DA8EF2
triadic
#A88EF2 #F2A88E #8EF2A8
tetradic
#A88EF2 #F28EA6 #D8F28E #8EF2DA
square
#A88EF2 #F28EA6 #D8F28E #8EF2DA
split-complementary
#A88EF2 #F2DA8E #A6F28E
monochromatic
#5320E5 #7E57EC #A88EF2 #D2C5F8 #EAE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A88EF2#FFFFFF#000000##000000
##A88EF21.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)
#709FF6
Deuteranopia (green-blind)
#749CF0
Tritanopia (blue-blind)
#98A0B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a88ef2;
/* rgb */ color: rgb(168, 142, 242);
/* oklch */ color: oklch(71.1% 0.144 294.4);
Tailwind
colors: {
  custom: {
    50: '#c4aff7',
    500: '#a88ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a88ef2;
$custom-light: #c4aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#a88ef2",
  "rgb": {
    "r": 168,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 255.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.14415,
    "h": 294.4
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#A88EF2
secondary
#ECF4D7
accent
#DC0AA5
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A88EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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