#AF89E7#AF89E7

#AF89E7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.139 H 301.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AF89E7
RGBrgb(175, 137, 231)
HSLhsl(264, 66%, 72%)
HSVhsv(264, 41%, 91%)
CMYKcmyk(24.2%, 40.7%, 0%, 9.4%)
CIE-LABlab(63.98, 33.20, -42.39)
CIE-LCHlch(63.98, 53.84, 308.07°)
OKLaboklab(70.28% 0.0726 -0.1182)
OKLCHoklch(70.28% 0.139 301.6)
XYZxyz(41.0455, 32.7747, 79.7496)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E7 #C1E789
analogous
#8992E7 #AF89E7 #DE89E7
triadic
#AF89E7 #E7AF89 #89E7AF
tetradic
#AF89E7 #E78992 #C1E789 #89E7DE
square
#AF89E7 #E78992 #C1E789 #89E7DE
split-complementary
#AF89E7 #E7DE89 #92E789
monochromatic
#6B2ACC #8D56DD #AF89E7 #D1BCF1 #EEE6FA

Accessibility & contrast

On white

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

On black

7.55
#AF89E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E7#FFFFFF#000000##000000
##AF89E71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEB
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#A599AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89e7;
/* rgb */ color: rgb(175, 137, 231);
/* oklch */ color: oklch(70.3% 0.139 301.6);
Tailwind
colors: {
  custom: {
    50: '#c8acef',
    500: '#af89e7',
    950: '#000000',
  },
}
SCSS
$custom: #af89e7;
$custom-light: #c8acef;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e7",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 231
  },
  "hsl": {
    "h": 264.255,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70279,
    "c": 0.13868,
    "h": 301.6
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF89E7

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

Preview Lab → · Contrast checker → · Palette generator →

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