#AF89E6#AF89E6

#AF89E6 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.137 H 301.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AF89E6
RGBrgb(175, 137, 230)
HSLhsl(265, 65%, 72%)
HSVhsv(265, 40%, 90%)
CMYKcmyk(23.9%, 40.4%, 0%, 9.8%)
CIE-LABlab(63.93, 32.96, -41.91)
CIE-LCHlch(63.93, 53.32, 308.19°)
OKLaboklab(70.23% 0.0724 -0.1168)
OKLCHoklch(70.23% 0.137 301.8)
XYZxyz(40.9047, 32.7184, 79.0079)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E6 #C0E689
analogous
#8992E6 #AF89E6 #DE89E6
triadic
#AF89E6 #E6AF89 #89E6AF
tetradic
#AF89E6 #E68992 #C0E689 #89E6DE
square
#AF89E6 #E68992 #C0E689 #89E6DE
split-complementary
#AF89E6 #E6DE89 #92E689
monochromatic
#6C2BCA #8D57DB #AF89E6 #D1BCF1 #EEE6FA

Accessibility & contrast

On white

2.78
#AF89E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AF89E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E6#FFFFFF#000000##000000
##AF89E61.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AE9
Deuteranopia (green-blind)
#799BE4
Tritanopia (blue-blind)
#A598AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89e6;
/* rgb */ color: rgb(175, 137, 230);
/* oklch */ color: oklch(70.2% 0.137 301.8);
Tailwind
colors: {
  custom: {
    50: '#c8acee',
    500: '#af89e6',
    950: '#000000',
  },
}
SCSS
$custom: #af89e6;
$custom-light: #c8acee;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e6",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 230
  },
  "hsl": {
    "h": 264.516,
    "s": 65.035,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.1374,
    "h": 301.8
  },
  "luminance": 0.32718
}

Semantic roles & 50–950 ramp

primary
#AF89E6
secondary
#E8F1DA
accent
#CD1983
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89E6

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

Preview Lab → · Contrast checker → · Palette generator →

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