#A88BF2#A88BF2

#A88BF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.149 H 295.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A88BF2
RGBrgb(168, 139, 242)
HSLhsl(257, 80%, 75%)
HSVhsv(257, 43%, 95%)
CMYKcmyk(30.6%, 42.6%, 0%, 5.1%)
CIE-LABlab(64.32, 32.81, -47.96)
CIE-LCHlch(64.32, 58.11, 304.38°)
OKLaboklab(70.56% 0.0636 -0.1345)
OKLCHoklch(70.56% 0.149 295.3)
XYZxyz(41.4041, 33.2003, 88.2141)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A88BF2 #D5F28B
analogous
#8BA2F2 #A88BF2 #DB8BF2
triadic
#A88BF2 #F2A88B #8BF2A8
tetradic
#A88BF2 #F28BA2 #D5F28B #8BF2DB
square
#A88BF2 #F28BA2 #D5F28B #8BF2DB
split-complementary
#A88BF2 #F2DB8B #A2F28B
monochromatic
#551DE6 #7F54EC #A88BF2 #D1C2F8 #EAE3FC

Accessibility & contrast

On white

2.75
#A88BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A88BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A88BF2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A88BF2#FFFFFF#000000##000000
##A88BF21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#989EB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a88bf2;
/* rgb */ color: rgb(168, 139, 242);
/* oklch */ color: oklch(70.6% 0.149 295.3);
Tailwind
colors: {
  custom: {
    50: '#c4adf7',
    500: '#a88bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a88bf2;
$custom-light: #c4adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a88bf2",
  "rgb": {
    "r": 168,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 256.893,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.14875,
    "h": 295.3
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#A88BF2
secondary
#ECF4D7
accent
#DC09A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A88BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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