#AF89DE#AF89DE

#AF89DE is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.8% C 0.127 H 303.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AF89DE
RGBrgb(175, 137, 222)
HSLhsl(267, 56%, 70%)
HSVhsv(267, 38%, 87%)
CMYKcmyk(21.2%, 38.3%, 0%, 12.9%)
CIE-LABlab(63.57, 31.10, -38.03)
CIE-LCHlch(63.57, 49.13, 309.28°)
OKLaboklab(69.84% 0.0709 -0.1056)
OKLCHoklch(69.84% 0.127 303.9)
XYZxyz(39.8069, 32.2793, 73.2265)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89DE #B8DE89
analogous
#898DDE #AF89DE #DA89DE
triadic
#AF89DE #DEAF89 #89DEAF
tetradic
#AF89DE #DE898D #B8DE89 #89DEDA
square
#AF89DE #DE898D #B8DE89 #89DEDA
split-complementary
#AF89DE #DEDA89 #8DDE89
monochromatic
#6F34B9 #8F59D1 #AF89DE #CFB9EB #EFE7F8

Accessibility & contrast

On white

2.82
#AF89DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#AF89DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89DE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89DE#FFFFFF#000000##000000
##AF89DE1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#7D9ADC
Tritanopia (blue-blind)
#A796A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af89de;
/* rgb */ color: rgb(175, 137, 222);
/* oklch */ color: oklch(69.8% 0.127 303.9);
Tailwind
colors: {
  custom: {
    50: '#c8ace8',
    500: '#af89de',
    950: '#000000',
  },
}
SCSS
$custom: #af89de;
$custom-light: #c8ace8;
$custom-dark: #000000;
JSON
{
  "hex": "#af89de",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 266.824,
    "s": 56.291,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6984,
    "c": 0.12715,
    "h": 303.9
  },
  "luminance": 0.32279
}

Semantic roles & 50–950 ramp

primary
#AF89DE
secondary
#E3EDD6
accent
#C4227B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89DE

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

Preview Lab → · Contrast checker → · Palette generator →

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