#AF88DB#AF88DB

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

Color values

HEX#AF88DB
RGBrgb(175, 136, 219)
HSLhsl(268, 54%, 70%)
HSVhsv(268, 38%, 86%)
CMYKcmyk(20.1%, 37.9%, 0%, 14.1%)
CIE-LABlab(63.21, 30.98, -36.93)
CIE-LCHlch(63.21, 48.20, 309.99°)
OKLaboklab(69.52% 0.0717 -0.1024)
OKLCHoklch(69.52% 0.125 305)
XYZxyz(39.2669, 31.8369, 71.0806)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88DB #B4DB88
analogous
#888BDB #AF88DB #D988DB
triadic
#AF88DB #DBAF88 #88DBAF
tetradic
#AF88DB #DB888B #B4DB88 #88DBD9
square
#AF88DB #DB888B #B4DB88 #88DBD9
split-complementary
#AF88DB #DBD988 #8BDB88
monochromatic
#7136B3 #8F59CD #AF88DB #CFB7E9 #EEE6F7

Accessibility & contrast

On white

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

On black

7.37
#AF88DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88DB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88DB#FFFFFF#000000##000000
##AF88DB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#7E99D9
Tritanopia (blue-blind)
#A895A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af88db;
/* rgb */ color: rgb(175, 136, 219);
/* oklch */ color: oklch(69.5% 0.125 305.0);
Tailwind
colors: {
  custom: {
    50: '#c8abe6',
    500: '#af88db',
    950: '#000000',
  },
}
SCSS
$custom: #af88db;
$custom-light: #c8abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#af88db",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 268.193,
    "s": 53.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.12499,
    "h": 305
  },
  "luminance": 0.31837
}

Semantic roles & 50–950 ramp

primary
#AF88DB
secondary
#E0EBD4
accent
#C12477
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF88DB

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

Preview Lab → · Contrast checker → · Palette generator →

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