#AFA4DB#AFA4DB

#AFA4DB is a light, moderate violet. Relative luminance 0.408; OKLCH L 74.7% C 0.079 H 293.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFA4DB
RGBrgb(175, 164, 219)
HSLhsl(252, 43%, 75%)
HSVhsv(252, 25%, 86%)
CMYKcmyk(20.1%, 25.1%, 0%, 14.1%)
CIE-LABlab(70.02, 15.24, -26.39)
CIE-LCHlch(70.02, 30.48, 300.01°)
OKLaboklab(74.74% 0.0316 -0.0724)
OKLCHoklch(74.74% 0.079 293.6)
XYZxyz(43.7379, 40.7789, 72.5709)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4DB #D0DBA4
analogous
#A4B4DB #AFA4DB #CAA4DB
triadic
#AFA4DB #DBAFA4 #A4DBAF
tetradic
#AFA4DB #DBA4B4 #D0DBA4 #A4DBCA
square
#AFA4DB #DBA4B4 #D0DBA4 #A4DBCA
split-complementary
#AFA4DB #DBCAA4 #B4DBA4
monochromatic
#624CB8 #8878CA #AFA4DB #D6D0EC #ECE9F6

Accessibility & contrast

On white

2.29
#AFA4DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFA4DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4DB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4DB#FFFFFF#000000##000000
##AFA4DB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDD
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#A6ADB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa4db;
/* rgb */ color: rgb(175, 164, 219);
/* oklch */ color: oklch(74.7% 0.079 293.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfe6',
    500: '#afa4db',
    950: '#000000',
  },
}
SCSS
$custom: #afa4db;
$custom-light: #c7bfe6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4db",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 219
  },
  "hsl": {
    "h": 252,
    "s": 43.307,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74737,
    "c": 0.07903,
    "h": 293.6
  },
  "luminance": 0.40779
}

Semantic roles & 50–950 ramp

primary
#AFA4DB
secondary
#EAEDDE
accent
#B62F9B
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4DB

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

Preview Lab → · Contrast checker → · Palette generator →

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