#AF89C8#AF89C8

#AF89C8 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.8% C 0.099 H 311.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AF89C8
RGBrgb(175, 137, 200)
HSLhsl(276, 36%, 66%)
HSVhsv(276, 32%, 78%)
CMYKcmyk(12.5%, 31.5%, 0%, 21.6%)
CIE-LABlab(62.66, 26.21, -27.16)
CIE-LCHlch(62.66, 37.74, 313.98°)
OKLaboklab(68.84% 0.0657 -0.0745)
OKLCHoklch(68.84% 0.099 311.4)
XYZxyz(37.0484, 31.1759, 58.6982)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89C8 #A2C889
analogous
#8F89C8 #AF89C8 #C889C1
triadic
#AF89C8 #C8AF89 #89C8AF
tetradic
#AF89C8 #C88F89 #A2C889 #89C1C8
square
#AF89C8 #C88F89 #A2C889 #89C1C8
split-complementary
#AF89C8 #C1C889 #89C88F
monochromatic
#734492 #935FB5 #AF89C8 #CBB3DB #E8DCEF

Accessibility & contrast

On white

2.90
#AF89C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AF89C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89C8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89C8#FFFFFF#000000##000000
##AF89C81.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CB
Deuteranopia (green-blind)
#8798C6
Tritanopia (blue-blind)
#AD91A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89c8;
/* rgb */ color: rgb(175, 137, 200);
/* oklch */ color: oklch(68.8% 0.099 311.4);
Tailwind
colors: {
  custom: {
    50: '#c7abd9',
    500: '#af89c8',
    950: '#000000',
  },
}
SCSS
$custom: #af89c8;
$custom-light: #c7abd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af89c8",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 200
  },
  "hsl": {
    "h": 276.19,
    "s": 36.416,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.09928,
    "h": 311.4
  },
  "luminance": 0.31175
}

Semantic roles & 50–950 ramp

primary
#AF89C8
secondary
#D4E1CC
accent
#AF3666
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF89C8

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

Preview Lab → · Contrast checker → · Palette generator →

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