#AF89E1#AF89E1

#AF89E1 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.131 H 303.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AF89E1
RGBrgb(175, 137, 225)
HSLhsl(266, 59%, 71%)
HSVhsv(266, 39%, 88%)
CMYKcmyk(22.2%, 39.1%, 0%, 11.8%)
CIE-LABlab(63.71, 31.80, -39.49)
CIE-LCHlch(63.71, 50.70, 308.84°)
OKLaboklab(69.98% 0.0715 -0.1098)
OKLCHoklch(69.98% 0.131 303.1)
XYZxyz(40.2126, 32.4416, 75.3629)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E1 #BBE189
analogous
#898FE1 #AF89E1 #DB89E1
triadic
#AF89E1 #E1AF89 #89E1AF
tetradic
#AF89E1 #E1898F #BBE189 #89E1DB
square
#AF89E1 #E1898F #BBE189 #89E1DB
split-complementary
#AF89E1 #E1DB89 #8FE189
monochromatic
#6E31BF #8E58D5 #AF89E1 #D0BAED #EEE7F9

Accessibility & contrast

On white

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

On black

7.49
#AF89E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E1
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E1#FFFFFF#000000##000000
##AF89E11.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E4
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#A797AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af89e1;
/* rgb */ color: rgb(175, 137, 225);
/* oklch */ color: oklch(70.0% 0.131 303.1);
Tailwind
colors: {
  custom: {
    50: '#c8acea',
    500: '#af89e1',
    950: '#000000',
  },
}
SCSS
$custom: #af89e1;
$custom-light: #c8acea;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e1",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 225
  },
  "hsl": {
    "h": 265.909,
    "s": 59.459,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.13099,
    "h": 303.1
  },
  "luminance": 0.32442
}

Semantic roles & 50–950 ramp

primary
#AF89E1
secondary
#E4EFD7
accent
#C71E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89E1

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

Preview Lab → · Contrast checker → · Palette generator →

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