#AF99EE#AF99EE

#AF99EE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.5% C 0.122 H 295.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AF99EE
RGBrgb(175, 153, 238)
HSLhsl(256, 71%, 77%)
HSVhsv(256, 36%, 93%)
CMYKcmyk(26.5%, 35.7%, 0%, 6.7%)
CIE-LABlab(68.07, 25.87, -39.83)
CIE-LCHlch(68.07, 47.50, 303.00°)
OKLaboklab(73.49% 0.052 -0.1108)
OKLCHoklch(73.49% 0.122 295.1)
XYZxyz(44.4994, 38.0689, 85.8759)
Luminance0.3807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99EE #D8EE99
analogous
#99AEEE #AF99EE #DA99EE
triadic
#AF99EE #EEAF99 #99EEAF
tetradic
#AF99EE #EE99AE #D8EE99 #99EEDA
square
#AF99EE #EE99AE #D8EE99 #99EEDA
split-complementary
#AF99EE #EEDA99 #AEEE99
monochromatic
#5D30DD #8665E5 #AF99EE #D8CDF7 #EAE5FB

Accessibility & contrast

On white

2.44
#AF99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AF99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99EE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99EE#FFFFFF#000000##000000
##AF99EE1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#A2A8B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #af99ee;
/* rgb */ color: rgb(175, 153, 238);
/* oklch */ color: oklch(73.5% 0.122 295.1);
Tailwind
colors: {
  custom: {
    50: '#c8b7f4',
    500: '#af99ee',
    950: '#000000',
  },
}
SCSS
$custom: #af99ee;
$custom-light: #c8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af99ee",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 255.529,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73491,
    "c": 0.1224,
    "h": 295.1
  },
  "luminance": 0.38069
}

Semantic roles & 50–950 ramp

primary
#AF99EE
secondary
#ECF2D9
accent
#D312A1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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