#AFA3DD#AFA3DD

#AFA3DD is a light, moderate violet. Relative luminance 0.405; OKLCH L 74.6% C 0.083 H 293.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AFA3DD
RGBrgb(175, 163, 221)
HSLhsl(252, 46%, 75%)
HSVhsv(252, 26%, 87%)
CMYKcmyk(20.8%, 26.2%, 0%, 13.3%)
CIE-LABlab(69.84, 16.26, -27.76)
CIE-LCHlch(69.84, 32.17, 300.35°)
OKLaboklab(74.63% 0.0336 -0.0763)
OKLCHoklch(74.63% 0.083 293.8)
XYZxyz(43.8246, 40.5284, 73.9065)
Luminance0.4053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DD #D1DDA3
analogous
#A3B4DD #AFA3DD #CCA3DD
triadic
#AFA3DD #DDAFA3 #A3DDAF
tetradic
#AFA3DD #DDA3B4 #D1DDA3 #A3DDCC
square
#AFA3DD #DDA3B4 #D1DDA3 #A3DDCC
split-complementary
#AFA3DD #DDCCA3 #B4DDA3
monochromatic
#614ABC #8876CC #AFA3DD #D6D0EE #ECE9F7

Accessibility & contrast

On white

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

On black

9.11
#AFA3DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DD#FFFFFF#000000##000000
##AFA3DD1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABDF
Deuteranopia (green-blind)
#97AADB
Tritanopia (blue-blind)
#A6ACB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa3dd;
/* rgb */ color: rgb(175, 163, 221);
/* oklch */ color: oklch(74.6% 0.083 293.8);
Tailwind
colors: {
  custom: {
    50: '#c7bee7',
    500: '#afa3dd',
    950: '#000000',
  },
}
SCSS
$custom: #afa3dd;
$custom-light: #c7bee7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3dd",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 221
  },
  "hsl": {
    "h": 252.414,
    "s": 46.032,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74625,
    "c": 0.08339,
    "h": 293.8
  },
  "luminance": 0.40529
}

Semantic roles & 50–950 ramp

primary
#AFA3DD
secondary
#EAEEDD
accent
#B92C9C
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3DD

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

Preview Lab → · Contrast checker → · Palette generator →

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