#AF88FA#AF88FA

#AF88FA is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.1% C 0.165 H 297.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AF88FA
RGBrgb(175, 136, 250)
HSLhsl(261, 92%, 76%)
HSVhsv(261, 46%, 98%)
CMYKcmyk(30%, 45.6%, 0%, 2%)
CIE-LABlab(64.66, 38.32, -51.77)
CIE-LCHlch(64.66, 64.42, 306.51°)
OKLaboklab(71.09% 0.0769 -0.1454)
OKLCHoklch(71.09% 0.165 297.9)
XYZxyz(43.7345, 33.6240, 94.6099)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88FA #D3FA88
analogous
#889AFA #AF88FA #E888FA
triadic
#AF88FA #FAAF88 #88FAAF
tetradic
#AF88FA #FA889A #D3FA88 #88FAE8
square
#AF88FA #FA889A #D3FA88 #88FAE8
split-complementary
#AF88FA #FAE888 #9AFA88
monochromatic
#6013F5 #884DF8 #AF88FA #D6C3FC #EBE2FE

Accessibility & contrast

On white

2.72
#AF88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AF88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88FA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88FA#FFFFFF#000000##000000
##AF88FA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#6C9CF7
Tritanopia (blue-blind)
#9F9DB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af88fa;
/* rgb */ color: rgb(175, 136, 250);
/* oklch */ color: oklch(71.1% 0.165 297.9);
Tailwind
colors: {
  custom: {
    50: '#c9abfc',
    500: '#af88fa',
    950: '#000000',
  },
}
SCSS
$custom: #af88fa;
$custom-light: #c9abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#af88fa",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 260.526,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.16451,
    "h": 297.9
  },
  "luminance": 0.33624
}

Semantic roles & 50–950 ramp

primary
#AF88FA
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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