#AF88DC#AF88DC

#AF88DC is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.6% C 0.126 H 304.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF88DC
RGBrgb(175, 136, 220)
HSLhsl(268, 55%, 70%)
HSVhsv(268, 38%, 86%)
CMYKcmyk(20.5%, 38.2%, 0%, 13.7%)
CIE-LABlab(63.25, 31.21, -37.42)
CIE-LCHlch(63.25, 48.73, 309.83°)
OKLaboklab(69.57% 0.0719 -0.1038)
OKLCHoklch(69.57% 0.126 304.7)
XYZxyz(39.3990, 31.8897, 71.7760)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88DC #B5DC88
analogous
#888BDC #AF88DC #D988DC
triadic
#AF88DC #DCAF88 #88DCAF
tetradic
#AF88DC #DC888B #B5DC88 #88DCD9
square
#AF88DC #DC888B #B5DC88 #88DCD9
split-complementary
#AF88DC #DCD988 #8BDC88
monochromatic
#7035B5 #8F59CE #AF88DC #CFB7EA #EFE7F8

Accessibility & contrast

On white

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

On black

7.38
#AF88DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88DC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88DC#FFFFFF#000000##000000
##AF88DC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#7D99DA
Tritanopia (blue-blind)
#A895A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af88dc;
/* rgb */ color: rgb(175, 136, 220);
/* oklch */ color: oklch(69.6% 0.126 304.7);
Tailwind
colors: {
  custom: {
    50: '#c8abe7',
    500: '#af88dc',
    950: '#000000',
  },
}
SCSS
$custom: #af88dc;
$custom-light: #c8abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#af88dc",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 267.857,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.12626,
    "h": 304.7
  },
  "luminance": 0.3189
}

Semantic roles & 50–950 ramp

primary
#AF88DC
secondary
#E1ECD4
accent
#C22378
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF88DC

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

Preview Lab → · Contrast checker → · Palette generator →

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