#AF99FF#AF99FF

#AF99FF is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.145 H 292.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AF99FF
RGBrgb(175, 153, 255)
HSLhsl(253, 100%, 80%)
HSVhsv(253, 40%, 100%)
CMYKcmyk(31.4%, 40%, 0%, 0%)
CIE-LABlab(68.83, 30.04, -47.92)
CIE-LCHlch(68.83, 56.56, 302.09°)
OKLaboklab(74.32% 0.0554 -0.1342)
OKLCHoklch(74.32% 0.145 292.4)
XYZxyz(47.1158, 39.1155, 99.6561)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99FF #E9FF99
analogous
#99B6FF #AF99FF #E299FF
triadic
#AF99FF #FFAF99 #99FFAF
tetradic
#AF99FF #FF99B6 #E9FF99 #99FFE2
square
#AF99FF #FF99B6 #E9FF99 #99FFE2
split-complementary
#AF99FF #FFE299 #B6FF99
monochromatic
#4F1FFF #7F5CFF #AF99FF #DFD6FF #E7E0FF

Accessibility & contrast

On white

2.38
#AF99FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AF99FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99FF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99FF#FFFFFF#000000##000000
##AF99FF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#9DACC0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #af99ff;
/* rgb */ color: rgb(175, 153, 255);
/* oklch */ color: oklch(74.3% 0.145 292.4);
Tailwind
colors: {
  custom: {
    50: '#c9b7ff',
    500: '#af99ff',
    950: '#000000',
  },
}
SCSS
$custom: #af99ff;
$custom-light: #c9b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af99ff",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 255
  },
  "hsl": {
    "h": 252.941,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.14519,
    "h": 292.4
  },
  "luminance": 0.39116
}

Semantic roles & 50–950 ramp

primary
#AF99FF
secondary
#F0F7D4
accent
#E600B4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF99FF

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

Preview Lab → · Contrast checker → · Palette generator →

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