#AF89C7#AF89C7

#AF89C7 is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.8% C 0.098 H 311.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AF89C7
RGBrgb(175, 137, 199)
HSLhsl(277, 36%, 66%)
HSVhsv(277, 31%, 78%)
CMYKcmyk(12.1%, 31.2%, 0%, 22%)
CIE-LABlab(62.62, 25.99, -26.66)
CIE-LCHlch(62.62, 37.23, 314.28°)
OKLaboklab(68.8% 0.0654 -0.073)
OKLCHoklch(68.8% 0.098 311.8)
XYZxyz(36.9319, 31.1293, 58.0847)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89C7 #A1C789
analogous
#9089C7 #AF89C7 #C789C0
triadic
#AF89C7 #C7AF89 #89C7AF
tetradic
#AF89C7 #C79089 #A1C789 #89C0C7
square
#AF89C7 #C79089 #A1C789 #89C0C7
split-complementary
#AF89C7 #C0C789 #89C790
monochromatic
#734591 #935FB3 #AF89C7 #CBB3DB #E7DCEE

Accessibility & contrast

On white

2.91
#AF89C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AF89C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89C7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89C7#FFFFFF#000000##000000
##AF89C71.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C9
Deuteranopia (green-blind)
#8798C5
Tritanopia (blue-blind)
#AD919F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af89c7;
/* rgb */ color: rgb(175, 137, 199);
/* oklch */ color: oklch(68.8% 0.098 311.8);
Tailwind
colors: {
  custom: {
    50: '#c7abd8',
    500: '#af89c7',
    950: '#000000',
  },
}
SCSS
$custom: #af89c7;
$custom-light: #c7abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#af89c7",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 199
  },
  "hsl": {
    "h": 276.774,
    "s": 35.632,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68798,
    "c": 0.09804,
    "h": 311.8
  },
  "luminance": 0.31129
}

Semantic roles & 50–950 ramp

primary
#AF89C7
secondary
#D4E0CC
accent
#AE3765
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF89C7

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

Preview Lab → · Contrast checker → · Palette generator →

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