#AF89E5#AF89E5

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

Color values

HEX#AF89E5
RGBrgb(175, 137, 229)
HSLhsl(265, 64%, 72%)
HSVhsv(265, 40%, 90%)
CMYKcmyk(23.6%, 40.2%, 0%, 10.2%)
CIE-LABlab(63.89, 32.73, -41.42)
CIE-LCHlch(63.89, 52.79, 308.31°)
OKLaboklab(70.18% 0.0722 -0.1154)
OKLCHoklch(70.18% 0.136 302)
XYZxyz(40.7646, 32.6624, 78.2704)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89E5 #BFE589
analogous
#8991E5 #AF89E5 #DD89E5
triadic
#AF89E5 #E5AF89 #89E5AF
tetradic
#AF89E5 #E58991 #BFE589 #89E5DD
square
#AF89E5 #E58991 #BFE589 #89E5DD
split-complementary
#AF89E5 #E5DD89 #91E589
monochromatic
#6C2CC8 #8D57DA #AF89E5 #D1BBF0 #EEE6F9

Accessibility & contrast

On white

2.79
#AF89E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AF89E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89E5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89E5#FFFFFF#000000##000000
##AF89E51.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE8
Deuteranopia (green-blind)
#7A9AE3
Tritanopia (blue-blind)
#A698AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af89e5;
/* rgb */ color: rgb(175, 137, 229);
/* oklch */ color: oklch(70.2% 0.136 302.0);
Tailwind
colors: {
  custom: {
    50: '#c8aced',
    500: '#af89e5',
    950: '#000000',
  },
}
SCSS
$custom: #af89e5;
$custom-light: #c8aced;
$custom-dark: #000000;
JSON
{
  "hex": "#af89e5",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 229
  },
  "hsl": {
    "h": 264.783,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7018,
    "c": 0.13612,
    "h": 302
  },
  "luminance": 0.32662
}

Semantic roles & 50–950 ramp

primary
#AF89E5
secondary
#E7F1D9
accent
#CC1A82
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89E5

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

Preview Lab → · Contrast checker → · Palette generator →

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