#AF89FF#AF89FF

#AF89FF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.169 H 296.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AF89FF
RGBrgb(175, 137, 255)
HSLhsl(259, 100%, 77%)
HSVhsv(259, 46%, 100%)
CMYKcmyk(31.4%, 46.3%, 0%, 0%)
CIE-LABlab(65.14, 39.00, -53.75)
CIE-LCHlch(65.14, 66.41, 305.96°)
OKLaboklab(71.53% 0.0762 -0.1512)
OKLCHoklch(71.53% 0.169 296.7)
XYZxyz(44.6704, 34.2247, 98.8409)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89FF #D9FF89
analogous
#899EFF #AF89FF #EA89FF
triadic
#AF89FF #FFAF89 #89FFAF
tetradic
#AF89FF #FF899E #D9FF89 #89FFEA
square
#AF89FF #FF899E #D9FF89 #89FFEA
split-complementary
#AF89FF #FFEA89 #9EFF89
monochromatic
#5C0FFF #864CFF #AF89FF #D8C6FF #EAE0FF

Accessibility & contrast

On white

2.68
#AF89FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AF89FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89FF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89FF#FFFFFF#000000##000000
##AF89FF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#9E9FB8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af89ff;
/* rgb */ color: rgb(175, 137, 255);
/* oklch */ color: oklch(71.5% 0.169 296.7);
Tailwind
colors: {
  custom: {
    50: '#caacff',
    500: '#af89ff',
    950: '#000000',
  },
}
SCSS
$custom: #af89ff;
$custom-light: #caacff;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ff",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 259.322,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.16934,
    "h": 296.7
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

primary
#AF89FF
secondary
#ECF7D4
accent
#E6009C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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