#AF89E9#AF89E9

#AF89E9 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.141 H 301.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AF89E9
RGBrgb(175, 137, 233)
HSLhsl(264, 69%, 73%)
HSVhsv(264, 41%, 91%)
CMYKcmyk(24.9%, 41.2%, 0%, 8.6%)
CIE-LABlab(64.07, 33.67, -43.35)
CIE-LCHlch(64.07, 54.89, 307.84°)
OKLaboklab(70.38% 0.073 -0.1209)
OKLCHoklch(70.38% 0.141 301.1)
XYZxyz(41.3296, 32.8884, 81.2457)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E9 #C3E989
analogous
#8993E9 #AF89E9 #DF89E9
triadic
#AF89E9 #E9AF89 #89E9AF
tetradic
#AF89E9 #E98993 #C3E989 #89E9DF
square
#AF89E9 #E98993 #C3E989 #89E9DF
split-complementary
#AF89E9 #E9DF89 #93E989
monochromatic
#6A27D1 #8C55DF #AF89E9 #D2BDF3 #EEE5FA

Accessibility & contrast

On white

2.77
#AF89E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AF89E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E9#FFFFFF#000000##000000
##AF89E91.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BED
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#A499AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89e9;
/* rgb */ color: rgb(175, 137, 233);
/* oklch */ color: oklch(70.4% 0.141 301.1);
Tailwind
colors: {
  custom: {
    50: '#c9acf0',
    500: '#af89e9',
    950: '#000000',
  },
}
SCSS
$custom: #af89e9;
$custom-light: #c9acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e9",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 233
  },
  "hsl": {
    "h": 263.75,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.14125,
    "h": 301.1
  },
  "luminance": 0.32888
}

Semantic roles & 50–950 ramp

primary
#AF89E9
secondary
#E8F2D9
accent
#D11586
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89E9

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

Preview Lab → · Contrast checker → · Palette generator →

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