#AF89F4#AF89F4

#AF89F4 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.155 H 298.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AF89F4
RGBrgb(175, 137, 244)
HSLhsl(261, 83%, 75%)
HSVhsv(261, 44%, 96%)
CMYKcmyk(28.3%, 43.9%, 0%, 4.3%)
CIE-LABlab(64.59, 36.30, -48.59)
CIE-LCHlch(64.59, 60.66, 306.77°)
OKLaboklab(70.94% 0.0747 -0.1362)
OKLCHoklch(70.94% 0.155 298.8)
XYZxyz(42.9502, 33.5366, 89.7808)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89F4 #CEF489
analogous
#8999F4 #AF89F4 #E489F4
triadic
#AF89F4 #F4AF89 #89F4AF
tetradic
#AF89F4 #F48999 #CEF489 #89F4E4
square
#AF89F4 #F48999 #CEF489 #89F4E4
split-complementary
#AF89F4 #F4E489 #99F489
monochromatic
#6319EA #8951EF #AF89F4 #D5C1F9 #ECE3FC

Accessibility & contrast

On white

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

On black

7.71
#AF89F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89F4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89F4#FFFFFF#000000##000000
##AF89F41.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#719CF1
Tritanopia (blue-blind)
#A19CB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af89f4;
/* rgb */ color: rgb(175, 137, 244);
/* oklch */ color: oklch(70.9% 0.155 298.8);
Tailwind
colors: {
  custom: {
    50: '#c9acf8',
    500: '#af89f4',
    950: '#000000',
  },
}
SCSS
$custom: #af89f4;
$custom-light: #c9acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#af89f4",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 244
  },
  "hsl": {
    "h": 261.308,
    "s": 82.946,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.15533,
    "h": 298.8
  },
  "luminance": 0.33537
}

Semantic roles & 50–950 ramp

primary
#AF89F4
secondary
#EAF4D7
accent
#DF0692
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF89F4

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

Preview Lab → · Contrast checker → · Palette generator →

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