#AF88FC#AF88FC

#AF88FC is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.2% C 0.167 H 297.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AF88FC
RGBrgb(175, 136, 252)
HSLhsl(260, 95%, 76%)
HSVhsv(260, 46%, 99%)
CMYKcmyk(30.6%, 46%, 0%, 1.2%)
CIE-LABlab(64.76, 38.82, -52.71)
CIE-LCHlch(64.76, 65.46, 306.37°)
OKLaboklab(71.2% 0.0771 -0.1482)
OKLCHoklch(71.2% 0.167 297.5)
XYZxyz(44.0498, 33.7501, 96.2703)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88FC #D5FC88
analogous
#889BFC #AF88FC #E988FC
triadic
#AF88FC #FCAF88 #88FCAF
tetradic
#AF88FC #FC889B #D5FC88 #88FCE9
square
#AF88FC #FC889B #D5FC88 #88FCE9
split-complementary
#AF88FC #FCE988 #9BFC88
monochromatic
#5F11F9 #874CFA #AF88FC #D7C4FE #EBE1FE

Accessibility & contrast

On white

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

On black

7.75
#AF88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88FC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88FC#FFFFFF#000000##000000
##AF88FC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af88fc;
/* rgb */ color: rgb(175, 136, 252);
/* oklch */ color: oklch(71.2% 0.167 297.5);
Tailwind
colors: {
  custom: {
    50: '#caabfe',
    500: '#af88fc',
    950: '#000000',
  },
}
SCSS
$custom: #af88fc;
$custom-light: #caabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#af88fc",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 260.172,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.16705,
    "h": 297.5
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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