#AF99CD#AF99CD

#AF99CD is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.0% C 0.078 H 303.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AF99CD
RGBrgb(175, 153, 205)
HSLhsl(265, 34%, 70%)
HSVhsv(265, 25%, 80%)
CMYKcmyk(14.6%, 25.4%, 0%, 19.6%)
CIE-LABlab(66.75, 18.28, -23.66)
CIE-LCHlch(66.75, 29.90, 307.68°)
OKLaboklab(72.04% 0.0433 -0.0647)
OKLCHoklch(72.04% 0.078 303.8)
XYZxyz(40.0877, 36.3043, 62.6413)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99CD #B7CD99
analogous
#999DCD #AF99CD #C999CD
triadic
#AF99CD #CDAF99 #99CDAF
tetradic
#AF99CD #CD999D #B7CD99 #99CDC9
square
#AF99CD #CD999D #B7CD99 #99CDC9
split-complementary
#AF99CD #CDC999 #9DCD99
monochromatic
#704D9E #8F70B9 #AF99CD #CFC2E1 #EFEAF5

Accessibility & contrast

On white

2.54
#AF99CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AF99CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99CD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99CD#FFFFFF#000000##000000
##AF99CD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#ABA0AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af99cd;
/* rgb */ color: rgb(175, 153, 205);
/* oklch */ color: oklch(72.0% 0.078 303.8);
Tailwind
colors: {
  custom: {
    50: '#c7b7dc',
    500: '#af99cd',
    950: '#000000',
  },
}
SCSS
$custom: #af99cd;
$custom-light: #c7b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af99cd",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 265.385,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72044,
    "c": 0.07786,
    "h": 303.8
  },
  "luminance": 0.36304
}

Semantic roles & 50–950 ramp

primary
#AF99CD
secondary
#E2E8DA
accent
#AD387C
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF99CD

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

Preview Lab → · Contrast checker → · Palette generator →

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