#AF89E8#AF89E8

#AF89E8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.140 H 301.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AF89E8
RGBrgb(175, 137, 232)
HSLhsl(264, 67%, 72%)
HSVhsv(264, 41%, 91%)
CMYKcmyk(24.6%, 40.9%, 0%, 9%)
CIE-LABlab(64.02, 33.43, -42.87)
CIE-LCHlch(64.02, 54.37, 307.95°)
OKLaboklab(70.33% 0.0728 -0.1196)
OKLCHoklch(70.33% 0.14 301.3)
XYZxyz(41.1871, 32.8314, 80.4955)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E8 #C2E889
analogous
#8993E8 #AF89E8 #DF89E8
triadic
#AF89E8 #E8AF89 #89E8AF
tetradic
#AF89E8 #E88993 #C2E889 #89E8DF
square
#AF89E8 #E88993 #C2E889 #89E8DF
split-complementary
#AF89E8 #E8DF89 #93E889
monochromatic
#6B28CE #8C56DE #AF89E8 #D2BCF2 #EEE5FA

Accessibility & contrast

On white

2.78
#AF89E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AF89E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E8#FFFFFF#000000##000000
##AF89E81.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af89e8;
/* rgb */ color: rgb(175, 137, 232);
/* oklch */ color: oklch(70.3% 0.140 301.3);
Tailwind
colors: {
  custom: {
    50: '#c8acef',
    500: '#af89e8',
    950: '#000000',
  },
}
SCSS
$custom: #af89e8;
$custom-light: #c8acef;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e8",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 232
  },
  "hsl": {
    "h": 264,
    "s": 67.376,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.13997,
    "h": 301.3
  },
  "luminance": 0.32831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF89E8

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

Preview Lab → · Contrast checker → · Palette generator →

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