#AFA2CA#AFA2CA

#AFA2CA is a light, muted violet. Relative luminance 0.392; OKLCH L 73.7% C 0.059 H 299.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFA2CA
RGBrgb(175, 162, 202)
HSLhsl(260, 27%, 71%)
HSVhsv(260, 20%, 79%)
CMYKcmyk(13.4%, 19.8%, 0%, 20.8%)
CIE-LABlab(68.91, 12.59, -18.71)
CIE-LCHlch(68.91, 22.56, 303.94°)
OKLaboklab(73.68% 0.0292 -0.0509)
OKLCHoklch(73.68% 0.059 299.8)
XYZxyz(41.2581, 39.2188, 61.2621)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2CA #BDCAA2
analogous
#A2A9CA #AFA2CA #C3A2CA
triadic
#AFA2CA #CAAFA2 #A2CAAF
tetradic
#AFA2CA #CAA2A9 #BDCAA2 #A2CAC3
square
#AFA2CA #CAA2A9 #BDCAA2 #A2CAC3
split-complementary
#AFA2CA #CAC3A2 #A9CAA2
monochromatic
#6D589A #8D7BB4 #AFA2CA #D1C9E0 #EEECF4

Accessibility & contrast

On white

2.37
#AFA2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFA2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2CA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2CA#FFFFFF#000000##000000
##AFA2CA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA8CC
Deuteranopia (green-blind)
#9CA8C9
Tritanopia (blue-blind)
#ABA8AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa2ca;
/* rgb */ color: rgb(175, 162, 202);
/* oklch */ color: oklch(73.7% 0.059 299.8);
Tailwind
colors: {
  custom: {
    50: '#c7bdda',
    500: '#afa2ca',
    950: '#000000',
  },
}
SCSS
$custom: #afa2ca;
$custom-light: #c7bdda;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2ca",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 202
  },
  "hsl": {
    "h": 259.5,
    "s": 27.397,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73677,
    "c": 0.05863,
    "h": 299.8
  },
  "luminance": 0.39219
}

Semantic roles & 50–950 ramp

primary
#AFA2CA
secondary
#E6E9DF
accent
#A64085
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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