#AF91EE#AF91EE

#AF91EE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.0% C 0.135 H 297.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AF91EE
RGBrgb(175, 145, 238)
HSLhsl(259, 73%, 75%)
HSVhsv(259, 39%, 93%)
CMYKcmyk(26.5%, 39.1%, 0%, 6.7%)
CIE-LABlab(66.16, 30.37, -42.82)
CIE-LCHlch(66.16, 52.50, 305.35°)
OKLaboklab(72.04% 0.0629 -0.1194)
OKLCHoklch(72.04% 0.135 297.8)
XYZxyz(43.2336, 35.5374, 85.4540)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91EE #D0EE91
analogous
#91A1EE #AF91EE #DE91EE
triadic
#AF91EE #EEAF91 #91EEAF
tetradic
#AF91EE #EE91A1 #D0EE91 #91EEDE
square
#AF91EE #EE91A1 #D0EE91 #91EEDE
split-complementary
#AF91EE #EEDE91 #A1EE91
monochromatic
#6227DE #885CE6 #AF91EE #D6C6F6 #ECE4FB

Accessibility & contrast

On white

2.59
#AF91EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AF91EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91EE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91EE#FFFFFF#000000##000000
##AF91EE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#A2A1B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af91ee;
/* rgb */ color: rgb(175, 145, 238);
/* oklch */ color: oklch(72.0% 0.135 297.8);
Tailwind
colors: {
  custom: {
    50: '#c9b1f4',
    500: '#af91ee',
    950: '#000000',
  },
}
SCSS
$custom: #af91ee;
$custom-light: #c9b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af91ee",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 259.355,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7204,
    "c": 0.13499,
    "h": 297.8
  },
  "luminance": 0.35538
}

Semantic roles & 50–950 ramp

primary
#AF91EE
secondary
#EAF3D8
accent
#D51096
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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