#AFA3DB#AFA3DB

#AFA3DB is a light, moderate violet. Relative luminance 0.404; OKLCH L 74.5% C 0.081 H 294.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AFA3DB
RGBrgb(175, 163, 219)
HSLhsl(253, 44%, 75%)
HSVhsv(253, 26%, 86%)
CMYKcmyk(20.1%, 25.6%, 0%, 14.1%)
CIE-LABlab(69.77, 15.80, -26.78)
CIE-LCHlch(69.77, 31.09, 300.54°)
OKLaboklab(74.54% 0.033 -0.0735)
OKLCHoklch(74.54% 0.081 294.2)
XYZxyz(43.5597, 40.4224, 72.5115)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DB #CFDBA3
analogous
#A3B3DB #AFA3DB #CBA3DB
triadic
#AFA3DB #DBAFA3 #A3DBAF
tetradic
#AFA3DB #DBA3B3 #CFDBA3 #A3DBCB
square
#AFA3DB #DBA3B3 #CFDBA3 #A3DBCB
split-complementary
#AFA3DB #DBCBA3 #B3DBA3
monochromatic
#624BB9 #8977CA #AFA3DB #D5CFEC #ECE9F6

Accessibility & contrast

On white

2.31
#AFA3DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AFA3DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DB
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DB#FFFFFF#000000##000000
##AFA3DB1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDD
Deuteranopia (green-blind)
#97AAD9
Tritanopia (blue-blind)
#A6ACB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa3db;
/* rgb */ color: rgb(175, 163, 219);
/* oklch */ color: oklch(74.5% 0.081 294.2);
Tailwind
colors: {
  custom: {
    50: '#c7bee6',
    500: '#afa3db',
    950: '#000000',
  },
}
SCSS
$custom: #afa3db;
$custom-light: #c7bee6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3db",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 219
  },
  "hsl": {
    "h": 252.857,
    "s": 43.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74543,
    "c": 0.0806,
    "h": 294.2
  },
  "luminance": 0.40423
}

Semantic roles & 50–950 ramp

primary
#AFA3DB
secondary
#EAEDDE
accent
#B72F9A
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3DB

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

Preview Lab → · Contrast checker → · Palette generator →

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