#AF88FB#AF88FB

#AF88FB is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.166 H 297.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF88FB
RGBrgb(175, 136, 251)
HSLhsl(260, 93%, 76%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(30.3%, 45.8%, 0%, 1.6%)
CIE-LABlab(64.71, 38.57, -52.24)
CIE-LCHlch(64.71, 64.94, 306.44°)
OKLaboklab(71.15% 0.077 -0.1468)
OKLCHoklch(71.15% 0.166 297.7)
XYZxyz(43.8917, 33.6869, 95.4379)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88FB #D4FB88
analogous
#889AFB #AF88FB #E988FB
triadic
#AF88FB #FBAF88 #88FBAF
tetradic
#AF88FB #FB889A #D4FB88 #88FBE9
square
#AF88FB #FB889A #D4FB88 #88FBE9
split-complementary
#AF88FB #FBE988 #9AFB88
monochromatic
#5F12F7 #874DF9 #AF88FB #D7C3FD #EBE1FE

Accessibility & contrast

On white

2.71
#AF88FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF88FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88FB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88FB#FFFFFF#000000##000000
##AF88FB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#9F9DB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af88fb;
/* rgb */ color: rgb(175, 136, 251);
/* oklch */ color: oklch(71.1% 0.166 297.7);
Tailwind
colors: {
  custom: {
    50: '#caabfd',
    500: '#af88fb',
    950: '#000000',
  },
}
SCSS
$custom: #af88fb;
$custom-light: #caabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#af88fb",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 260.348,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71147,
    "c": 0.16579,
    "h": 297.7
  },
  "luminance": 0.33687
}

Semantic roles & 50–950 ramp

primary
#AF88FB
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF88FB

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

Preview Lab → · Contrast checker → · Palette generator →

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