#AFA3DE#AFA3DE

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

Color values

HEX#AFA3DE
RGBrgb(175, 163, 222)
HSLhsl(252, 47%, 75%)
HSVhsv(252, 27%, 87%)
CMYKcmyk(21.2%, 26.6%, 0%, 12.9%)
CIE-LABlab(69.88, 16.49, -28.25)
CIE-LCHlch(69.88, 32.71, 300.27°)
OKLaboklab(74.67% 0.0339 -0.0777)
OKLCHoklch(74.67% 0.085 293.6)
XYZxyz(43.9582, 40.5818, 74.6102)
Luminance0.4058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DE #D2DEA3
analogous
#A3B4DE #AFA3DE #CCA3DE
triadic
#AFA3DE #DEAFA3 #A3DEAF
tetradic
#AFA3DE #DEA3B4 #D2DEA3 #A3DECC
square
#AFA3DE #DEA3B4 #D2DEA3 #A3DECC
split-complementary
#AFA3DE #DECCA3 #B4DEA3
monochromatic
#6149BE #8876CE #AFA3DE #D6D0EE #EBE8F7

Accessibility & contrast

On white

2.30
#AFA3DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AFA3DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DE#FFFFFF#000000##000000
##AFA3DE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE0
Deuteranopia (green-blind)
#96AADC
Tritanopia (blue-blind)
#A6ACB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa3de;
/* rgb */ color: rgb(175, 163, 222);
/* oklch */ color: oklch(74.7% 0.085 293.6);
Tailwind
colors: {
  custom: {
    50: '#c7bee8',
    500: '#afa3de',
    950: '#000000',
  },
}
SCSS
$custom: #afa3de;
$custom-light: #c7bee8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3de",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 222
  },
  "hsl": {
    "h": 252.203,
    "s": 47.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.08478,
    "h": 293.6
  },
  "luminance": 0.40582
}

Semantic roles & 50–950 ramp

primary
#AFA3DE
secondary
#EAEEDD
accent
#BA2B9D
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3DE

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

Preview Lab → · Contrast checker → · Palette generator →

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