#AFA3E2#AFA3E2

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

Color values

HEX#AFA3E2
RGBrgb(175, 163, 226)
HSLhsl(251, 52%, 76%)
HSVhsv(251, 28%, 89%)
CMYKcmyk(22.6%, 27.9%, 0%, 11.4%)
CIE-LABlab(70.03, 17.41, -30.21)
CIE-LCHlch(70.03, 34.87, 299.96°)
OKLaboklab(74.83% 0.035 -0.0833)
OKLCHoklch(74.83% 0.09 292.8)
XYZxyz(44.5006, 40.7988, 77.4672)
Luminance0.4080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3E2 #D6E2A3
analogous
#A3B7E2 #AFA3E2 #CFA3E2
triadic
#AFA3E2 #E2AFA3 #A3E2AF
tetradic
#AFA3E2 #E2A3B7 #D6E2A3 #A3E2CF
square
#AFA3E2 #E2A3B7 #D6E2A3 #A3E2CF
split-complementary
#AFA3E2 #E2CFA3 #B7E2A3
monochromatic
#5E46C5 #8774D3 #AFA3E2 #D7D2F1 #EBE8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA3E2#FFFFFF#000000##000000
##AFA3E21.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)
#94ACE5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#A5ADB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa3e2;
/* rgb */ color: rgb(175, 163, 226);
/* oklch */ color: oklch(74.8% 0.090 292.8);
Tailwind
colors: {
  custom: {
    50: '#c7beeb',
    500: '#afa3e2',
    950: '#000000',
  },
}
SCSS
$custom: #afa3e2;
$custom-light: #c7beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3e2",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 226
  },
  "hsl": {
    "h": 251.429,
    "s": 52.066,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74835,
    "c": 0.09035,
    "h": 292.8
  },
  "luminance": 0.40799
}

Semantic roles & 50–950 ramp

primary
#AFA3E2
secondary
#EBEFDC
accent
#BF26A2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3E2

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

Preview Lab → · Contrast checker → · Palette generator →

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