#AF88FD#AF88FD

#AF88FD is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.3% C 0.168 H 297.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AF88FD
RGBrgb(175, 136, 253)
HSLhsl(260, 97%, 76%)
HSVhsv(260, 46%, 99%)
CMYKcmyk(30.8%, 46.2%, 0%, 0.8%)
CIE-LABlab(64.81, 39.06, -53.18)
CIE-LCHlch(64.81, 65.98, 306.30°)
OKLaboklab(71.26% 0.0773 -0.1495)
OKLCHoklch(71.26% 0.168 297.3)
XYZxyz(44.2087, 33.8136, 97.1070)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88FD #D6FD88
analogous
#889CFD #AF88FD #EA88FD
triadic
#AF88FD #FDAF88 #88FDAF
tetradic
#AF88FD #FD889C #D6FD88 #88FDEA
square
#AF88FD #FD889C #D6FD88 #88FDEA
split-complementary
#AF88FD #FDEA88 #9CFD88
monochromatic
#5E10FB #874CFC #AF88FD #D7C4FE #EBE1FE

Accessibility & contrast

On white

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

On black

7.76
#AF88FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88FD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88FD#FFFFFF#000000##000000
##AF88FD1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#9E9EB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af88fd;
/* rgb */ color: rgb(175, 136, 253);
/* oklch */ color: oklch(71.3% 0.168 297.3);
Tailwind
colors: {
  custom: {
    50: '#caabfe',
    500: '#af88fd',
    950: '#000000',
  },
}
SCSS
$custom: #af88fd;
$custom-light: #caabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#af88fd",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 260,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.16832,
    "h": 297.3
  },
  "luminance": 0.33814
}

Semantic roles & 50–950 ramp

primary
#AF88FD
secondary
#EBF7D4
accent
#E60099
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF88FD

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

Preview Lab → · Contrast checker → · Palette generator →

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