#AF89F6#AF89F6

#AF89F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.158 H 298.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AF89F6
RGBrgb(175, 137, 246)
HSLhsl(261, 86%, 75%)
HSVhsv(261, 44%, 96%)
CMYKcmyk(28.9%, 44.3%, 0%, 3.5%)
CIE-LABlab(64.69, 36.79, -49.54)
CIE-LCHlch(64.69, 61.70, 306.60°)
OKLaboklab(71.05% 0.075 -0.1389)
OKLCHoklch(71.05% 0.158 298.4)
XYZxyz(43.2555, 33.6587, 91.3888)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89F6 #D0F689
analogous
#899AF6 #AF89F6 #E589F6
triadic
#AF89F6 #F6AF89 #89F6AF
tetradic
#AF89F6 #F6899A #D0F689 #89F6E5
square
#AF89F6 #F6899A #D0F689 #89F6E5
split-complementary
#AF89F6 #F6E589 #9AF689
monochromatic
#6217ED #8850F2 #AF89F6 #D6C2FA #ECE3FD

Accessibility & contrast

On white

2.72
#AF89F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AF89F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89F6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89F6#FFFFFF#000000##000000
##AF89F61.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#709CF3
Tritanopia (blue-blind)
#A19DB4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af89f6;
/* rgb */ color: rgb(175, 137, 246);
/* oklch */ color: oklch(71.0% 0.158 298.4);
Tailwind
colors: {
  custom: {
    50: '#c9acf9',
    500: '#af89f6',
    950: '#000000',
  },
}
SCSS
$custom: #af89f6;
$custom-light: #c9acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#af89f6",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 260.917,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.15789,
    "h": 298.4
  },
  "luminance": 0.33659
}

Semantic roles & 50–950 ramp

primary
#AF89F6
secondary
#EAF5D6
accent
#E20395
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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