#AF88DA#AF88DA

#AF88DA is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.124 H 305.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AF88DA
RGBrgb(175, 136, 218)
HSLhsl(269, 53%, 69%)
HSVhsv(269, 38%, 85%)
CMYKcmyk(19.7%, 37.6%, 0%, 14.5%)
CIE-LABlab(63.16, 30.75, -36.44)
CIE-LCHlch(63.16, 47.68, 310.16°)
OKLaboklab(69.47% 0.0714 -0.101)
OKLCHoklch(69.47% 0.124 305.3)
XYZxyz(39.1357, 31.7844, 70.3893)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88DA #B3DA88
analogous
#888ADA #AF88DA #D888DA
triadic
#AF88DA #DAAF88 #88DAAF
tetradic
#AF88DA #DA888A #B3DA88 #88DAD8
square
#AF88DA #DA888A #B3DA88 #88DAD8
split-complementary
#AF88DA #DAD888 #8ADA88
monochromatic
#7137B1 #9059CB #AF88DA #CEB7E9 #EEE5F7

Accessibility & contrast

On white

2.85
#AF88DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AF88DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88DA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88DA#FFFFFF#000000##000000
##AF88DA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#7E99D8
Tritanopia (blue-blind)
#A895A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af88da;
/* rgb */ color: rgb(175, 136, 218);
/* oklch */ color: oklch(69.5% 0.124 305.3);
Tailwind
colors: {
  custom: {
    50: '#c8abe5',
    500: '#af88da',
    950: '#000000',
  },
}
SCSS
$custom: #af88da;
$custom-light: #c8abe5;
$custom-dark: #000000;
JSON
{
  "hex": "#af88da",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 218
  },
  "hsl": {
    "h": 268.537,
    "s": 52.564,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69473,
    "c": 0.12371,
    "h": 305.3
  },
  "luminance": 0.31784
}

Semantic roles & 50–950 ramp

primary
#AF88DA
secondary
#DFEBD3
accent
#C02677
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF88DA

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

Preview Lab → · Contrast checker → · Palette generator →

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