#AF86EA#AF86EA

#AF86EA is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.147 H 301.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF86EA
RGBrgb(175, 134, 234)
HSLhsl(265, 70%, 72%)
HSVhsv(265, 43%, 92%)
CMYKcmyk(25.2%, 42.7%, 0%, 8.2%)
CIE-LABlab(63.43, 35.58, -44.91)
CIE-LCHlch(63.43, 57.30, 308.39°)
OKLaboklab(69.91% 0.0772 -0.1255)
OKLCHoklch(69.91% 0.147 301.6)
XYZxyz(41.0523, 32.1046, 81.8600)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86EA #C1EA86
analogous
#868FEA #AF86EA #E186EA
triadic
#AF86EA #EAAF86 #86EAAF
tetradic
#AF86EA #EA868F #C1EA86 #86EAE1
square
#AF86EA #EA868F #C1EA86 #86EAE1
split-complementary
#AF86EA #EAE186 #8FEA86
monochromatic
#6B24D1 #8D52E1 #AF86EA #D1BAF3 #EEE5FA

Accessibility & contrast

On white

2.83
#AF86EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AF86EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86EA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86EA#FFFFFF#000000##000000
##AF86EA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#A497AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af86ea;
/* rgb */ color: rgb(175, 134, 234);
/* oklch */ color: oklch(69.9% 0.147 301.6);
Tailwind
colors: {
  custom: {
    50: '#c9aaf1',
    500: '#af86ea',
    950: '#000000',
  },
}
SCSS
$custom: #af86ea;
$custom-light: #c9aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#af86ea",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 264.6,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.14734,
    "h": 301.6
  },
  "luminance": 0.32105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF86EA

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

Preview Lab → · Contrast checker → · Palette generator →

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