#AF96CD#AF96CD

#AF96CD is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.5% C 0.083 H 305.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AF96CD
RGBrgb(175, 150, 205)
HSLhsl(267, 35%, 70%)
HSVhsv(267, 27%, 80%)
CMYKcmyk(14.6%, 26.8%, 0%, 19.6%)
CIE-LABlab(66.01, 19.97, -24.80)
CIE-LCHlch(66.01, 31.84, 308.83°)
OKLaboklab(71.47% 0.0478 -0.0679)
OKLCHoklch(71.47% 0.083 305.1)
XYZxyz(39.6029, 35.3346, 62.4797)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF96CD #B4CD96
analogous
#9699CD #AF96CD #CB96CD
triadic
#AF96CD #CDAF96 #96CDAF
tetradic
#AF96CD #CD9699 #B4CD96 #96CDCB
square
#AF96CD #CD9699 #B4CD96 #96CDCB
split-complementary
#AF96CD #CDCB96 #99CD96
monochromatic
#714B9E #8F6DB9 #AF96CD #CFBFE1 #EEE9F4

Accessibility & contrast

On white

2.60
#AF96CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AF96CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF96CD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF96CD#FFFFFF#000000##000000
##AF96CD1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#90A1CB
Tritanopia (blue-blind)
#AB9EA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af96cd;
/* rgb */ color: rgb(175, 150, 205);
/* oklch */ color: oklch(71.5% 0.083 305.1);
Tailwind
colors: {
  custom: {
    50: '#c7b5dc',
    500: '#af96cd',
    950: '#000000',
  },
}
SCSS
$custom: #af96cd;
$custom-light: #c7b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af96cd",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 267.273,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.083,
    "h": 305.1
  },
  "luminance": 0.35334
}

Semantic roles & 50–950 ramp

primary
#AF96CD
secondary
#E0E7D8
accent
#AE3778
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF96CD

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

Preview Lab → · Contrast checker → · Palette generator →

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