#AF99EF#AF99EF

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

Color values

HEX#AF99EF
RGBrgb(175, 153, 239)
HSLhsl(255, 73%, 77%)
HSVhsv(255, 36%, 94%)
CMYKcmyk(26.8%, 36%, 0%, 6.3%)
CIE-LABlab(68.11, 26.11, -40.31)
CIE-LCHlch(68.11, 48.03, 302.93°)
OKLaboklab(73.54% 0.0522 -0.1122)
OKLCHoklch(73.54% 0.124 294.9)
XYZxyz(44.6467, 38.1279, 86.6518)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99EF #D9EF99
analogous
#99AEEF #AF99EF #DA99EF
triadic
#AF99EF #EFAF99 #99EFAF
tetradic
#AF99EF #EF99AE #D9EF99 #99EFDA
square
#AF99EF #EF99AE #D9EF99 #99EFDA
split-complementary
#AF99EF #EFDA99 #AEEF99
monochromatic
#5C2FDE #8664E7 #AF99EF #D8CEF7 #EAE5FB

Accessibility & contrast

On white

2.43
#AF99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AF99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99EF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99EF#FFFFFF#000000##000000
##AF99EF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F2
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#A2A8B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #af99ef;
/* rgb */ color: rgb(175, 153, 239);
/* oklch */ color: oklch(73.5% 0.124 294.9);
Tailwind
colors: {
  custom: {
    50: '#c8b7f4',
    500: '#af99ef',
    950: '#000000',
  },
}
SCSS
$custom: #af99ef;
$custom-light: #c8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af99ef",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 255.349,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73538,
    "c": 0.12374,
    "h": 294.9
  },
  "luminance": 0.38128
}

Semantic roles & 50–950 ramp

primary
#AF99EF
secondary
#ECF3D8
accent
#D511A3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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