#AFABC2#AFABC2

#AFABC2 is a light, muted violet. Relative luminance 0.421; OKLCH L 75.2% C 0.033 H 293.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AFABC2
RGBrgb(175, 171, 194)
HSLhsl(250, 16%, 72%)
HSVhsv(250, 12%, 76%)
CMYKcmyk(9.8%, 11.9%, 0%, 23.9%)
CIE-LABlab(70.96, 5.93, -11.20)
CIE-LCHlch(70.96, 12.68, 297.88°)
OKLaboklab(75.19% 0.0132 -0.0302)
OKLCHoklch(75.19% 0.033 293.6)
XYZxyz(41.9778, 42.1347, 56.9498)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABC2 #BEC2AB
analogous
#ABB3C2 #AFABC2 #BBABC2
triadic
#AFABC2 #C2AFAB #ABC2AF
tetradic
#AFABC2 #C2ABB3 #BEC2AB #ABC2BB
square
#AFABC2 #C2ABB3 #BEC2AB #ABC2BB
split-complementary
#AFABC2 #C2BBAB #B3C2AB
monochromatic
#6D668D #8D88A8 #AFABC2 #D1CEDC #EEEDF2

Accessibility & contrast

On white

2.23
#AFABC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#AFABC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABC2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABC2#FFFFFF#000000##000000
##AFABC21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6AEC3
Deuteranopia (green-blind)
#A7ADC1
Tritanopia (blue-blind)
#ACAEB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afabc2;
/* rgb */ color: rgb(175, 171, 194);
/* oklch */ color: oklch(75.2% 0.033 293.6);
Tailwind
colors: {
  custom: {
    50: '#c7c4d4',
    500: '#afabc2',
    950: '#000000',
  },
}
SCSS
$custom: #afabc2;
$custom-light: #c7c4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#afabc2",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 194
  },
  "hsl": {
    "h": 250.435,
    "s": 15.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.03292,
    "h": 293.6
  },
  "luminance": 0.42135
}

Semantic roles & 50–950 ramp

primary
#AFABC2
secondary
#E6E7E1
accent
#9A4B8C
background
#FCFCFD
surface
#F8F8FA
border
#D1D1D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFABC2

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

Preview Lab → · Contrast checker → · Palette generator →

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