#AFA3EB#AFA3EB

#AFA3EB is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.2% C 0.103 H 291.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#AFA3EB
RGBrgb(175, 163, 235)
HSLhsl(250, 64%, 78%)
HSVhsv(250, 31%, 92%)
CMYKcmyk(25.5%, 30.6%, 0%, 7.8%)
CIE-LABlab(70.39, 19.53, -34.59)
CIE-LCHlch(70.39, 39.72, 299.46°)
OKLaboklab(75.23% 0.0375 -0.0958)
OKLCHoklch(75.23% 0.103 291.4)
XYZxyz(45.7681, 41.3058, 84.1427)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3EB #DFEBA3
analogous
#A3BBEB #AFA3EB #D3A3EB
triadic
#AFA3EB #EBAFA3 #A3EBAF
tetradic
#AFA3EB #EBA3BB #DFEBA3 #A3EBD3
square
#AFA3EB #EBA3BB #DFEBA3 #A3EBD3
split-complementary
#AFA3EB #EBD3A3 #BBEBA3
monochromatic
#583ED5 #8371E0 #AFA3EB #DBD5F6 #E9E6FA

Accessibility & contrast

On white

2.27
#AFA3EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#AFA3EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3EB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3EB#FFFFFF#000000##000000
##AFA3EB1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#A2AFBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa3eb;
/* rgb */ color: rgb(175, 163, 235);
/* oklch */ color: oklch(75.2% 0.103 291.4);
Tailwind
colors: {
  custom: {
    50: '#c8bef1',
    500: '#afa3eb',
    950: '#000000',
  },
}
SCSS
$custom: #afa3eb;
$custom-light: #c8bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3eb",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 235
  },
  "hsl": {
    "h": 250,
    "s": 64.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75226,
    "c": 0.10284,
    "h": 291.4
  },
  "luminance": 0.41307
}

Semantic roles & 50–950 ramp

primary
#AFA3EB
secondary
#EDF1DA
accent
#CC19AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3EB

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

Preview Lab → · Contrast checker → · Palette generator →

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