#AF88EA#AF88EA

#AF88EA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.3% C 0.144 H 301.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AF88EA
RGBrgb(175, 136, 234)
HSLhsl(264, 70%, 73%)
HSVhsv(264, 42%, 92%)
CMYKcmyk(25.2%, 41.9%, 0%, 8.2%)
CIE-LABlab(63.89, 34.47, -44.19)
CIE-LCHlch(63.89, 56.04, 307.95°)
OKLaboklab(70.26% 0.0745 -0.1234)
OKLCHoklch(70.26% 0.144 301.1)
XYZxyz(41.3313, 32.6627, 81.9530)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88EA #C3EA88
analogous
#8892EA #AF88EA #E088EA
triadic
#AF88EA #EAAF88 #88EAAF
tetradic
#AF88EA #EA8892 #C3EA88 #88EAE0
square
#AF88EA #EA8892 #C3EA88 #88EAE0
split-complementary
#AF88EA #EAE088 #92EA88
monochromatic
#6A25D2 #8C54E1 #AF88EA #D2BCF3 #EEE5FA

Accessibility & contrast

On white

2.79
#AF88EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AF88EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88EA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88EA#FFFFFF#000000##000000
##AF88EA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#A499AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af88ea;
/* rgb */ color: rgb(175, 136, 234);
/* oklch */ color: oklch(70.3% 0.144 301.1);
Tailwind
colors: {
  custom: {
    50: '#c9abf1',
    500: '#af88ea',
    950: '#000000',
  },
}
SCSS
$custom: #af88ea;
$custom-light: #c9abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#af88ea",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 263.878,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.14413,
    "h": 301.1
  },
  "luminance": 0.32663
}

Semantic roles & 50–950 ramp

primary
#AF88EA
secondary
#E8F2D9
accent
#D21486
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF88EA

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

Preview Lab → · Contrast checker → · Palette generator →

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