#AF89F3#AF89F3

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

Color values

HEX#AF89F3
RGBrgb(175, 137, 243)
HSLhsl(262, 82%, 75%)
HSVhsv(262, 44%, 95%)
CMYKcmyk(28%, 43.6%, 0%, 4.7%)
CIE-LABlab(64.54, 36.06, -48.12)
CIE-LCHlch(64.54, 60.13, 306.85°)
OKLaboklab(70.89% 0.0746 -0.1348)
OKLCHoklch(70.89% 0.154 299)
XYZxyz(42.7987, 33.4760, 88.9834)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89F3 #CDF389
analogous
#8998F3 #AF89F3 #E489F3
triadic
#AF89F3 #F3AF89 #89F3AF
tetradic
#AF89F3 #F38998 #CDF389 #89F3E4
square
#AF89F3 #F38998 #CDF389 #89F3E4
split-complementary
#AF89F3 #F3E489 #98F389
monochromatic
#641AE8 #8951ED #AF89F3 #D5C1F9 #ECE3FC

Accessibility & contrast

On white

2.73
#AF89F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AF89F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89F3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89F3#FFFFFF#000000##000000
##AF89F31.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF7
Deuteranopia (green-blind)
#729CF0
Tritanopia (blue-blind)
#A19CB2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af89f3;
/* rgb */ color: rgb(175, 137, 243);
/* oklch */ color: oklch(70.9% 0.154 299.0);
Tailwind
colors: {
  custom: {
    50: '#c9acf7',
    500: '#af89f3',
    950: '#000000',
  },
}
SCSS
$custom: #af89f3;
$custom-light: #c9acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#af89f3",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 261.509,
    "s": 81.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70892,
    "c": 0.15405,
    "h": 299
  },
  "luminance": 0.33476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF89F3

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

Preview Lab → · Contrast checker → · Palette generator →

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