#AF99CA#AF99CA

#AF99CA is a light, moderate violet. Relative luminance 0.362; OKLCH L 71.9% C 0.074 H 305.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AF99CA
RGBrgb(175, 153, 202)
HSLhsl(267, 32%, 70%)
HSVhsv(267, 24%, 79%)
CMYKcmyk(13.4%, 24.3%, 0%, 20.8%)
CIE-LABlab(66.64, 17.63, -22.16)
CIE-LCHlch(66.64, 28.32, 308.50°)
OKLaboklab(71.92% 0.0424 -0.0605)
OKLCHoklch(71.92% 0.074 305.1)
XYZxyz(39.7291, 36.1608, 60.7524)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99CA #B4CA99
analogous
#999CCA #AF99CA #C899CA
triadic
#AF99CA #CAAF99 #99CAAF
tetradic
#AF99CA #CA999C #B4CA99 #99CAC8
square
#AF99CA #CA999C #B4CA99 #99CAC8
split-complementary
#AF99CA #CAC899 #9CCA99
monochromatic
#715099 #8F71B5 #AF99CA #CFC1DF #EEEAF4

Accessibility & contrast

On white

2.55
#AF99CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AF99CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99CA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99CA#FFFFFF#000000##000000
##AF99CA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#94A2C9
Tritanopia (blue-blind)
#ABA0AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af99ca;
/* rgb */ color: rgb(175, 153, 202);
/* oklch */ color: oklch(71.9% 0.074 305.1);
Tailwind
colors: {
  custom: {
    50: '#c7b7da',
    500: '#af99ca',
    950: '#000000',
  },
}
SCSS
$custom: #af99ca;
$custom-light: #c7b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#af99ca",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 266.939,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.07386,
    "h": 305.1
  },
  "luminance": 0.36161
}

Semantic roles & 50–950 ramp

primary
#AF99CA
secondary
#E0E6D8
accent
#AA3B78
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AF99CA

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

Preview Lab → · Contrast checker → · Palette generator →

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