#AF92DB#AF92DB

#AF92DB is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.3% C 0.108 H 302.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AF92DB
RGBrgb(175, 146, 219)
HSLhsl(264, 50%, 72%)
HSVhsv(264, 33%, 86%)
CMYKcmyk(20.1%, 33.3%, 0%, 14.1%)
CIE-LABlab(65.58, 25.35, -33.24)
CIE-LCHlch(65.58, 41.80, 307.33°)
OKLaboklab(71.33% 0.0573 -0.0918)
OKLCHoklch(71.33% 0.108 302)
XYZxyz(40.7416, 34.7862, 71.5721)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92DB #BEDB92
analogous
#929ADB #AF92DB #D492DB
triadic
#AF92DB #DBAF92 #92DBAF
tetradic
#AF92DB #DB929A #BEDB92 #92DBD4
square
#AF92DB #DB929A #BEDB92 #92DBD4
split-complementary
#AF92DB #DBD492 #9ADB92
monochromatic
#6D3CB6 #8D64CC #AF92DB #D1C0EA #EEE8F7

Accessibility & contrast

On white

2.64
#AF92DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AF92DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92DB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92DB#FFFFFF#000000##000000
##AF92DB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDE
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#A89DAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af92db;
/* rgb */ color: rgb(175, 146, 219);
/* oklch */ color: oklch(71.3% 0.108 302.0);
Tailwind
colors: {
  custom: {
    50: '#c8b2e6',
    500: '#af92db',
    950: '#000000',
  },
}
SCSS
$custom: #af92db;
$custom-light: #c8b2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af92db",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 263.836,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.10828,
    "h": 302
  },
  "luminance": 0.34786
}

Semantic roles & 50–950 ramp

primary
#AF92DB
secondary
#E6EEDB
accent
#BE2882
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131116
muted
#828084

Preview Lab

Preview with #AF92DB

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

Preview Lab → · Contrast checker → · Palette generator →

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