#AF89DD#AF89DD

#AF89DD is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.126 H 304.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AF89DD
RGBrgb(175, 137, 221)
HSLhsl(267, 55%, 70%)
HSVhsv(267, 38%, 87%)
CMYKcmyk(20.8%, 38%, 0%, 13.3%)
CIE-LABlab(63.53, 30.87, -37.54)
CIE-LCHlch(63.53, 48.61, 309.43°)
OKLaboklab(69.79% 0.0707 -0.1042)
OKLCHoklch(69.79% 0.126 304.1)
XYZxyz(39.6733, 32.2259, 72.5227)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89DD #B7DD89
analogous
#898DDD #AF89DD #D989DD
triadic
#AF89DD #DDAF89 #89DDAF
tetradic
#AF89DD #DD898D #B7DD89 #89DDD9
square
#AF89DD #DD898D #B7DD89 #89DDD9
split-complementary
#AF89DD #DDD989 #8DDD89
monochromatic
#7035B7 #8F59CF #AF89DD #CFB9EB #EFE7F8

Accessibility & contrast

On white

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

On black

7.45
#AF89DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89DD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89DD#FFFFFF#000000##000000
##AF89DD1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#7E9ADB
Tritanopia (blue-blind)
#A896A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af89dd;
/* rgb */ color: rgb(175, 137, 221);
/* oklch */ color: oklch(69.8% 0.126 304.1);
Tailwind
colors: {
  custom: {
    50: '#c8ace8',
    500: '#af89dd',
    950: '#000000',
  },
}
SCSS
$custom: #af89dd;
$custom-light: #c8ace8;
$custom-dark: #000000;
JSON
{
  "hex": "#af89dd",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 221
  },
  "hsl": {
    "h": 267.143,
    "s": 55.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69792,
    "c": 0.12587,
    "h": 304.1
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#AF89DD
secondary
#E2EDD5
accent
#C3237A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89DD

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

Preview Lab → · Contrast checker → · Palette generator →

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