#AF89D2#AF89D2

#AF89D2 is a light, moderate violet. Relative luminance 0.317; OKLCH L 69.3% C 0.112 H 307.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AF89D2
RGBrgb(175, 137, 210)
HSLhsl(271, 45%, 68%)
HSVhsv(271, 35%, 82%)
CMYKcmyk(16.7%, 34.8%, 0%, 17.6%)
CIE-LABlab(63.06, 28.39, -32.14)
CIE-LCHlch(63.06, 42.88, 311.46°)
OKLaboklab(69.28% 0.0682 -0.0887)
OKLCHoklch(69.28% 0.112 307.6)
XYZxyz(38.2555, 31.6587, 65.0557)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89D2 #ACD289
analogous
#8A89D2 #AF89D2 #D289D0
triadic
#AF89D2 #D2AF89 #89D2AF
tetradic
#AF89D2 #D28A89 #ACD289 #89D0D2
square
#AF89D2 #D28A89 #ACD289 #89D0D2
split-complementary
#AF89D2 #D0D289 #89D28A
monochromatic
#723EA3 #915DC1 #AF89D2 #CDB5E3 #EBE2F4

Accessibility & contrast

On white

2.86
#AF89D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AF89D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89D2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89D2#FFFFFF#000000##000000
##AF89D21.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#8399D0
Tritanopia (blue-blind)
#AA94A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af89d2;
/* rgb */ color: rgb(175, 137, 210);
/* oklch */ color: oklch(69.3% 0.112 307.6);
Tailwind
colors: {
  custom: {
    50: '#c8ace0',
    500: '#af89d2',
    950: '#000000',
  },
}
SCSS
$custom: #af89d2;
$custom-light: #c8ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#af89d2",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 210
  },
  "hsl": {
    "h": 271.233,
    "s": 44.785,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.11184,
    "h": 307.6
  },
  "luminance": 0.31658
}

Semantic roles & 50–950 ramp

primary
#AF89D2
secondary
#DBE7D0
accent
#B82E70
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89D2

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

Preview Lab → · Contrast checker → · Palette generator →

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