#AF89CF#AF89CF

#AF89CF is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.1% C 0.108 H 308.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF89CF
RGBrgb(175, 137, 207)
HSLhsl(273, 42%, 67%)
HSVhsv(273, 34%, 81%)
CMYKcmyk(15.5%, 33.8%, 0%, 18.8%)
CIE-LABlab(62.94, 27.73, -30.65)
CIE-LCHlch(62.94, 41.33, 312.13°)
OKLaboklab(69.15% 0.0675 -0.0844)
OKLCHoklch(69.15% 0.108 308.6)
XYZxyz(37.8853, 31.5106, 63.1057)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CF #A9CF89
analogous
#8C89CF #AF89CF #CF89CC
triadic
#AF89CF #CFAF89 #89CFAF
tetradic
#AF89CF #CF8C89 #A9CF89 #89CCCF
square
#AF89CF #CF8C89 #A9CF89 #89CCCF
split-complementary
#AF89CF #CCCF89 #89CF8C
monochromatic
#73409E #925DBD #AF89CF #CCB5E1 #EAE0F2

Accessibility & contrast

On white

2.88
#AF89CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF89CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CF#FFFFFF#000000##000000
##AF89CF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D2
Deuteranopia (green-blind)
#8499CD
Tritanopia (blue-blind)
#AB93A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89cf;
/* rgb */ color: rgb(175, 137, 207);
/* oklch */ color: oklch(69.1% 0.108 308.6);
Tailwind
colors: {
  custom: {
    50: '#c8acde',
    500: '#af89cf',
    950: '#000000',
  },
}
SCSS
$custom: #af89cf;
$custom-light: #c8acde;
$custom-dark: #000000;
JSON
{
  "hex": "#af89cf",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 272.571,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.10806,
    "h": 308.6
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#AF89CF
secondary
#D9E5CF
accent
#B5306D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CF

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

Preview Lab → · Contrast checker → · Palette generator →

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