#AF99EA#AF99EA

#AF99EA is a light, moderate violet. Relative luminance 0.378; OKLCH L 73.3% C 0.117 H 295.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AF99EA
RGBrgb(175, 153, 234)
HSLhsl(256, 66%, 76%)
HSVhsv(256, 35%, 92%)
CMYKcmyk(25.2%, 34.6%, 0%, 8.2%)
CIE-LABlab(67.90, 24.91, -37.91)
CIE-LCHlch(67.90, 45.36, 303.31°)
OKLaboklab(73.3% 0.0511 -0.1053)
OKLCHoklch(73.3% 0.117 295.9)
XYZxyz(43.9182, 37.8365, 82.8153)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99EA #D4EA99
analogous
#99ABEA #AF99EA #D799EA
triadic
#AF99EA #EAAF99 #99EAAF
tetradic
#AF99EA #EA99AB #D4EA99 #99EAD7
square
#AF99EA #EA99AB #D4EA99 #99EAD7
split-complementary
#AF99EA #EAD799 #ABEA99
monochromatic
#5F33D5 #8766E0 #AF99EA #D7CCF4 #EBE6FA

Accessibility & contrast

On white

2.45
#AF99EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AF99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99EA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99EA#FFFFFF#000000##000000
##AF99EA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#A3A7B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af99ea;
/* rgb */ color: rgb(175, 153, 234);
/* oklch */ color: oklch(73.3% 0.117 295.9);
Tailwind
colors: {
  custom: {
    50: '#c8b7f1',
    500: '#af99ea',
    950: '#000000',
  },
}
SCSS
$custom: #af99ea;
$custom-light: #c8b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af99ea",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 256.296,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73303,
    "c": 0.117,
    "h": 295.9
  },
  "luminance": 0.37837
}

Semantic roles & 50–950 ramp

primary
#AF99EA
secondary
#EBF1DA
accent
#CE189C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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