#AFA3EA#AFA3EA

#AFA3EA is a light, moderate violet. Relative luminance 0.412; OKLCH L 75.2% C 0.101 H 291.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA3EA
RGBrgb(175, 163, 234)
HSLhsl(250, 63%, 78%)
HSVhsv(250, 30%, 92%)
CMYKcmyk(25.2%, 30.3%, 0%, 8.2%)
CIE-LABlab(70.35, 19.30, -34.10)
CIE-LCHlch(70.35, 39.18, 299.50°)
OKLaboklab(75.18% 0.0372 -0.0944)
OKLCHoklch(75.18% 0.101 291.5)
XYZxyz(45.6241, 41.2482, 83.3839)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3EA #DEEAA3
analogous
#A3BAEA #AFA3EA #D2A3EA
triadic
#AFA3EA #EAAFA3 #A3EAAF
tetradic
#AFA3EA #EAA3BA #DEEAA3 #A3EAD2
square
#AFA3EA #EAA3BA #DEEAA3 #A3EAD2
split-complementary
#AFA3EA #EAD2A3 #BAEAA3
monochromatic
#583FD3 #8471DF #AFA3EA #DAD5F5 #E9E6F9

Accessibility & contrast

On white

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

On black

9.25
#AFA3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3EA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3EA#FFFFFF#000000##000000
##AFA3EA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ADED
Deuteranopia (green-blind)
#91ABE8
Tritanopia (blue-blind)
#A2AFBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa3ea;
/* rgb */ color: rgb(175, 163, 234);
/* oklch */ color: oklch(75.2% 0.101 291.5);
Tailwind
colors: {
  custom: {
    50: '#c8bef1',
    500: '#afa3ea',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ea;
$custom-light: #c8bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ea",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 234
  },
  "hsl": {
    "h": 250.141,
    "s": 62.832,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.10146,
    "h": 291.5
  },
  "luminance": 0.41249
}

Semantic roles & 50–950 ramp

primary
#AFA3EA
secondary
#EDF1DA
accent
#CB1BAD
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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