#AF89CE#AF89CE

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

Color values

HEX#AF89CE
RGBrgb(175, 137, 206)
HSLhsl(273, 41%, 67%)
HSVhsv(273, 33%, 81%)
CMYKcmyk(15%, 33.5%, 0%, 19.2%)
CIE-LABlab(62.90, 27.51, -30.16)
CIE-LCHlch(62.90, 40.82, 312.37°)
OKLaboklab(69.1% 0.0672 -0.083)
OKLCHoklch(69.1% 0.107 309)
XYZxyz(37.7634, 31.4619, 62.4639)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CE #A8CE89
analogous
#8D89CE #AF89CE #CE89CB
triadic
#AF89CE #CEAF89 #89CEAF
tetradic
#AF89CE #CE8D89 #A8CE89 #89CBCE
square
#AF89CE #CE8D89 #A8CE89 #89CBCE
split-complementary
#AF89CE #CBCE89 #89CE8D
monochromatic
#73419C #925EBC #AF89CE #CCB4E0 #EADFF2

Accessibility & contrast

On white

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

On black

7.29
#AF89CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CE#FFFFFF#000000##000000
##AF89CE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D1
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#AB93A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89ce;
/* rgb */ color: rgb(175, 137, 206);
/* oklch */ color: oklch(69.1% 0.107 309.0);
Tailwind
colors: {
  custom: {
    50: '#c8acdd',
    500: '#af89ce',
    950: '#000000',
  },
}
SCSS
$custom: #af89ce;
$custom-light: #c8acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ce",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 273.043,
    "s": 41.317,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69102,
    "c": 0.10679,
    "h": 309
  },
  "luminance": 0.31462
}

Semantic roles & 50–950 ramp

primary
#AF89CE
secondary
#D8E4CF
accent
#B4316C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CE

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

Preview Lab → · Contrast checker → · Palette generator →

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