#AF91DB#AF91DB

#AF91DB is a light, moderate violet. Relative luminance 0.345; OKLCH L 71.1% C 0.110 H 302.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AF91DB
RGBrgb(175, 145, 219)
HSLhsl(264, 51%, 71%)
HSVhsv(264, 34%, 86%)
CMYKcmyk(20.1%, 33.8%, 0%, 14.1%)
CIE-LABlab(65.34, 25.91, -33.61)
CIE-LCHlch(65.34, 42.44, 307.63°)
OKLaboklab(71.14% 0.0588 -0.0929)
OKLCHoklch(71.14% 0.11 302.3)
XYZxyz(40.5881, 34.4792, 71.5210)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91DB #BDDB91
analogous
#9198DB #AF91DB #D491DB
triadic
#AF91DB #DBAF91 #91DBAF
tetradic
#AF91DB #DB9198 #BDDB91 #91DBD4
square
#AF91DB #DB9198 #BDDB91 #91DBD4
split-complementary
#AF91DB #DBD491 #98DB91
monochromatic
#6D3CB6 #8D63CC #AF91DB #D1BFEA #EEE8F7

Accessibility & contrast

On white

2.66
#AF91DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AF91DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91DB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91DB#FFFFFF#000000##000000
##AF91DB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDE
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#A89CAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af91db;
/* rgb */ color: rgb(175, 145, 219);
/* oklch */ color: oklch(71.1% 0.110 302.3);
Tailwind
colors: {
  custom: {
    50: '#c8b1e6',
    500: '#af91db',
    950: '#000000',
  },
}
SCSS
$custom: #af91db;
$custom-light: #c8b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af91db",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 264.324,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.10994,
    "h": 302.3
  },
  "luminance": 0.34479
}

Semantic roles & 50–950 ramp

primary
#AF91DB
secondary
#E6EEDA
accent
#BE2781
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF91DB

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

Preview Lab → · Contrast checker → · Palette generator →

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