#AF89DA#AF89DA

#AF89DA is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.7% C 0.122 H 305.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF89DA
RGBrgb(175, 137, 218)
HSLhsl(268, 52%, 70%)
HSVhsv(268, 37%, 85%)
CMYKcmyk(19.7%, 37.2%, 0%, 14.5%)
CIE-LABlab(63.40, 30.19, -36.08)
CIE-LCHlch(63.40, 47.04, 309.92°)
OKLaboklab(69.65% 0.07 -0.0999)
OKLCHoklch(69.65% 0.122 305)
XYZxyz(39.2772, 32.0674, 70.4365)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89DA #B4DA89
analogous
#898CDA #AF89DA #D789DA
triadic
#AF89DA #DAAF89 #89DAAF
tetradic
#AF89DA #DA898C #B4DA89 #89DAD7
square
#AF89DA #DA898C #B4DA89 #89DAD7
split-complementary
#AF89DA #DAD789 #8CDA89
monochromatic
#7138B1 #8F5ACB #AF89DA #CFB8E9 #EEE6F7

Accessibility & contrast

On white

2.83
#AF89DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF89DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89DA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89DA#FFFFFF#000000##000000
##AF89DA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#A895A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af89da;
/* rgb */ color: rgb(175, 137, 218);
/* oklch */ color: oklch(69.7% 0.122 305.0);
Tailwind
colors: {
  custom: {
    50: '#c8ace5',
    500: '#af89da',
    950: '#000000',
  },
}
SCSS
$custom: #af89da;
$custom-light: #c8ace5;
$custom-dark: #000000;
JSON
{
  "hex": "#af89da",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 218
  },
  "hsl": {
    "h": 268.148,
    "s": 52.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6965,
    "c": 0.12203,
    "h": 305
  },
  "luminance": 0.32067
}

Semantic roles & 50–950 ramp

primary
#AF89DA
secondary
#E0EBD4
accent
#C02677
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89DA

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

Preview Lab → · Contrast checker → · Palette generator →

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