#AF89EE#AF89EE

#AF89EE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.148 H 300.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AF89EE
RGBrgb(175, 137, 238)
HSLhsl(263, 75%, 74%)
HSVhsv(263, 42%, 93%)
CMYKcmyk(26.5%, 42.4%, 0%, 6.7%)
CIE-LABlab(64.30, 34.86, -45.74)
CIE-LCHlch(64.30, 57.51, 307.31°)
OKLaboklab(70.63% 0.0738 -0.1279)
OKLCHoklch(70.63% 0.148 300)
XYZxyz(42.0539, 33.1781, 85.0608)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89EE #C8EE89
analogous
#8995EE #AF89EE #E189EE
triadic
#AF89EE #EEAF89 #89EEAF
tetradic
#AF89EE #EE8995 #C8EE89 #89EEE1
square
#AF89EE #EE8995 #C8EE89 #89EEE1
split-complementary
#AF89EE #EEE189 #95EE89
monochromatic
#6720DD #8B54E6 #AF89EE #D3BEF6 #EDE4FB

Accessibility & contrast

On white

2.75
#AF89EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AF89EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89EE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89EE#FFFFFF#000000##000000
##AF89EE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#A39AB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af89ee;
/* rgb */ color: rgb(175, 137, 238);
/* oklch */ color: oklch(70.6% 0.148 300.0);
Tailwind
colors: {
  custom: {
    50: '#c9acf4',
    500: '#af89ee',
    950: '#000000',
  },
}
SCSS
$custom: #af89ee;
$custom-light: #c9acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ee",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 262.574,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70633,
    "c": 0.14765,
    "h": 300
  },
  "luminance": 0.33178
}

Semantic roles & 50–950 ramp

primary
#AF89EE
secondary
#E9F3D8
accent
#D70F8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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