#AF89CD#AF89CD

#AF89CD is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.1% C 0.106 H 309.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AF89CD
RGBrgb(175, 137, 205)
HSLhsl(274, 40%, 67%)
HSVhsv(274, 33%, 80%)
CMYKcmyk(14.6%, 33.2%, 0%, 19.6%)
CIE-LABlab(62.86, 27.29, -29.66)
CIE-LCHlch(62.86, 40.30, 312.62°)
OKLaboklab(69.06% 0.067 -0.0816)
OKLCHoklch(69.06% 0.106 309.4)
XYZxyz(37.6423, 31.4135, 61.8262)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CD #A7CD89
analogous
#8D89CD #AF89CD #CD89C9
triadic
#AF89CD #CDAF89 #89CDAF
tetradic
#AF89CD #CD8D89 #A7CD89 #89C9CD
square
#AF89CD #CD8D89 #A7CD89 #89C9CD
split-complementary
#AF89CD #C9CD89 #89CD8D
monochromatic
#73419A #925EBB #AF89CD #CCB4DF #E9DFF1

Accessibility & contrast

On white

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

On black

7.28
#AF89CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CD#FFFFFF#000000##000000
##AF89CD1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96D0
Deuteranopia (green-blind)
#8599CB
Tritanopia (blue-blind)
#AC92A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89cd;
/* rgb */ color: rgb(175, 137, 205);
/* oklch */ color: oklch(69.1% 0.106 309.4);
Tailwind
colors: {
  custom: {
    50: '#c7acdc',
    500: '#af89cd',
    950: '#000000',
  },
}
SCSS
$custom: #af89cd;
$custom-light: #c7acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af89cd",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 273.529,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.10553,
    "h": 309.4
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#AF89CD
secondary
#D8E4CE
accent
#B4326B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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