#AF89E3#AF89E3

#AF89E3 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.1% C 0.134 H 302.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AF89E3
RGBrgb(175, 137, 227)
HSLhsl(265, 62%, 71%)
HSVhsv(265, 40%, 89%)
CMYKcmyk(22.9%, 39.6%, 0%, 11%)
CIE-LABlab(63.80, 32.26, -40.46)
CIE-LCHlch(63.80, 51.75, 308.57°)
OKLaboklab(70.08% 0.0719 -0.1126)
OKLCHoklch(70.08% 0.134 302.5)
XYZxyz(40.4870, 32.5513, 76.8082)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E3 #BDE389
analogous
#8990E3 #AF89E3 #DC89E3
triadic
#AF89E3 #E3AF89 #89E3AF
tetradic
#AF89E3 #E38990 #BDE389 #89E3DC
square
#AF89E3 #E38990 #BDE389 #89E3DC
split-complementary
#AF89E3 #E3DC89 #90E389
monochromatic
#6D2EC3 #8D58D7 #AF89E3 #D1BAEF #EEE6F9

Accessibility & contrast

On white

2.80
#AF89E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AF89E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E3#FFFFFF#000000##000000
##AF89E31.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE6
Deuteranopia (green-blind)
#7B9AE1
Tritanopia (blue-blind)
#A698AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89e3;
/* rgb */ color: rgb(175, 137, 227);
/* oklch */ color: oklch(70.1% 0.134 302.5);
Tailwind
colors: {
  custom: {
    50: '#c8acec',
    500: '#af89e3',
    950: '#000000',
  },
}
SCSS
$custom: #af89e3;
$custom-light: #c8acec;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e3",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 227
  },
  "hsl": {
    "h": 265.333,
    "s": 61.644,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.13355,
    "h": 302.5
  },
  "luminance": 0.32551
}

Semantic roles & 50–950 ramp

primary
#AF89E3
secondary
#E6F0D8
accent
#C91C80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89E3

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

Preview Lab → · Contrast checker → · Palette generator →

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