#AF88F7#AF88F7

#AF88F7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.161 H 298.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF88F7
RGBrgb(175, 136, 247)
HSLhsl(261, 87%, 75%)
HSVhsv(261, 45%, 97%)
CMYKcmyk(29.1%, 44.9%, 0%, 3.1%)
CIE-LABlab(64.51, 37.59, -50.37)
CIE-LCHlch(64.51, 62.85, 306.74°)
OKLaboklab(70.93% 0.0765 -0.1413)
OKLCHoklch(70.93% 0.161 298.4)
XYZxyz(43.2679, 33.4373, 92.1522)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88F7 #D0F788
analogous
#8898F7 #AF88F7 #E788F7
triadic
#AF88F7 #F7AF88 #88F7AF
tetradic
#AF88F7 #F78898 #D0F788 #88F7E7
square
#AF88F7 #F78898 #D0F788 #88F7E7
split-complementary
#AF88F7 #F7E788 #98F788
monochromatic
#6215EF #884FF3 #AF88F7 #D6C1FB #ECE2FD

Accessibility & contrast

On white

2.73
#AF88F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88F7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88F7#FFFFFF#000000##000000
##AF88F71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#A09CB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af88f7;
/* rgb */ color: rgb(175, 136, 247);
/* oklch */ color: oklch(70.9% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#c9abfa',
    500: '#af88f7',
    950: '#000000',
  },
}
SCSS
$custom: #af88f7;
$custom-light: #c9abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#af88f7",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 261.081,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70932,
    "c": 0.16071,
    "h": 298.4
  },
  "luminance": 0.33438
}

Semantic roles & 50–950 ramp

primary
#AF88F7
secondary
#EAF5D6
accent
#E40294
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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