#AF89EA#AF89EA

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

Color values

HEX#AF89EA
RGBrgb(175, 137, 234)
HSLhsl(264, 70%, 73%)
HSVhsv(264, 41%, 92%)
CMYKcmyk(25.2%, 41.5%, 0%, 8.2%)
CIE-LABlab(64.12, 33.91, -43.83)
CIE-LCHlch(64.12, 55.41, 307.73°)
OKLaboklab(70.43% 0.0731 -0.1223)
OKLCHoklch(70.43% 0.143 300.9)
XYZxyz(41.4728, 32.9457, 82.0002)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89EA #C4EA89
analogous
#8993EA #AF89EA #DF89EA
triadic
#AF89EA #EAAF89 #89EAAF
tetradic
#AF89EA #EA8993 #C4EA89 #89EADF
square
#AF89EA #EA8993 #C4EA89 #89EADF
split-complementary
#AF89EA #EADF89 #93EA89
monochromatic
#6A26D3 #8C55E1 #AF89EA #D2BDF3 #EDE5FA

Accessibility & contrast

On white

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

On black

7.59
#AF89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89EA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89EA#FFFFFF#000000##000000
##AF89EA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#A499AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89ea;
/* rgb */ color: rgb(175, 137, 234);
/* oklch */ color: oklch(70.4% 0.143 300.9);
Tailwind
colors: {
  custom: {
    50: '#c9acf1',
    500: '#af89ea',
    950: '#000000',
  },
}
SCSS
$custom: #af89ea;
$custom-light: #c9acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ea",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 263.505,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70429,
    "c": 0.14253,
    "h": 300.9
  },
  "luminance": 0.32946
}

Semantic roles & 50–950 ramp

primary
#AF89EA
secondary
#E8F2D9
accent
#D21487
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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