#AF86EE#AF86EE

#AF86EE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.152 H 300.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF86EE
RGBrgb(175, 134, 238)
HSLhsl(264, 75%, 73%)
HSVhsv(264, 44%, 93%)
CMYKcmyk(26.5%, 43.7%, 0%, 6.7%)
CIE-LABlab(63.62, 36.54, -46.82)
CIE-LCHlch(63.62, 59.39, 307.97°)
OKLaboklab(70.12% 0.0779 -0.131)
OKLCHoklch(70.12% 0.152 300.7)
XYZxyz(41.6334, 32.3370, 84.9206)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF86EE #C5EE86
analogous
#8691EE #AF86EE #E386EE
triadic
#AF86EE #EEAF86 #86EEAF
tetradic
#AF86EE #EE8691 #C5EE86 #86EEE3
square
#AF86EE #EE8691 #C5EE86 #86EEE3
split-complementary
#AF86EE #EEE386 #91EE86
monochromatic
#691FDB #8C50E6 #AF86EE #D2BCF6 #EDE4FB

Accessibility & contrast

On white

2.81
#AF86EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF86EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF86EE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF86EE#FFFFFF#000000##000000
##AF86EE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#729AEB
Tritanopia (blue-blind)
#A398AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af86ee;
/* rgb */ color: rgb(175, 134, 238);
/* oklch */ color: oklch(70.1% 0.152 300.7);
Tailwind
colors: {
  custom: {
    50: '#c9aaf4',
    500: '#af86ee',
    950: '#000000',
  },
}
SCSS
$custom: #af86ee;
$custom-light: #c9aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#af86ee",
  "rgb": {
    "r": 175,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 263.654,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.15241,
    "h": 300.7
  },
  "luminance": 0.32337
}

Semantic roles & 50–950 ramp

primary
#AF86EE
secondary
#E8F3D8
accent
#D80E88
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF86EE

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

Preview Lab → · Contrast checker → · Palette generator →

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