#AF89DB#AF89DB

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

Color values

HEX#AF89DB
RGBrgb(175, 137, 219)
HSLhsl(268, 53%, 70%)
HSVhsv(268, 37%, 86%)
CMYKcmyk(20.1%, 37.4%, 0%, 14.1%)
CIE-LABlab(63.44, 30.42, -36.57)
CIE-LCHlch(63.44, 47.56, 309.75°)
OKLaboklab(69.7% 0.0702 -0.1014)
OKLCHoklch(69.7% 0.123 304.7)
XYZxyz(39.4084, 32.1199, 71.1278)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89DB #B5DB89
analogous
#898CDB #AF89DB #D889DB
triadic
#AF89DB #DBAF89 #89DBAF
tetradic
#AF89DB #DB898C #B5DB89 #89DBD8
square
#AF89DB #DB898C #B5DB89 #89DBD8
split-complementary
#AF89DB #DBD889 #8CDB89
monochromatic
#7037B3 #8F5ACD #AF89DB #CFB8E9 #EFE7F8

Accessibility & contrast

On white

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

On black

7.42
#AF89DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89DB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89DB#FFFFFF#000000##000000
##AF89DB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DE
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#A896A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af89db;
/* rgb */ color: rgb(175, 137, 219);
/* oklch */ color: oklch(69.7% 0.123 304.7);
Tailwind
colors: {
  custom: {
    50: '#c8ace6',
    500: '#af89db',
    950: '#000000',
  },
}
SCSS
$custom: #af89db;
$custom-light: #c8ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#af89db",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 267.805,
    "s": 53.247,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69697,
    "c": 0.12331,
    "h": 304.7
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#AF89DB
secondary
#E1EBD4
accent
#C12578
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF89DB

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

Preview Lab → · Contrast checker → · Palette generator →

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