#AFA5CE#AFA5CE

#AFA5CE is a light, muted violet. Relative luminance 0.405; OKLCH L 74.4% C 0.059 H 296.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA5CE
RGBrgb(175, 165, 206)
HSLhsl(255, 29%, 73%)
HSVhsv(255, 20%, 81%)
CMYKcmyk(15%, 19.9%, 0%, 19.2%)
CIE-LABlab(69.81, 11.79, -19.56)
CIE-LCHlch(69.81, 22.84, 301.08°)
OKLaboklab(74.42% 0.0261 -0.0532)
OKLCHoklch(74.42% 0.059 296.1)
XYZxyz(42.2726, 40.4802, 63.9670)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5CE #C4CEA5
analogous
#A5AFCE #AFA5CE #C3A5CE
triadic
#AFA5CE #CEAFA5 #A5CEAF
tetradic
#AFA5CE #CEA5AF #C4CEA5 #A5CEC3
square
#AFA5CE #CEA5AF #C4CEA5 #A5CEC3
split-complementary
#AFA5CE #CEC3A5 #AFCEA5
monochromatic
#6A58A1 #8C7DB8 #AFA5CE #D2CDE4 #EDEBF4

Accessibility & contrast

On white

2.31
#AFA5CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#AFA5CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5CE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5CE#FFFFFF#000000##000000
##AFA5CE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DABD0
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#A9ABB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa5ce;
/* rgb */ color: rgb(175, 165, 206);
/* oklch */ color: oklch(74.4% 0.059 296.1);
Tailwind
colors: {
  custom: {
    50: '#c7bfdd',
    500: '#afa5ce',
    950: '#000000',
  },
}
SCSS
$custom: #afa5ce;
$custom-light: #c7bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5ce",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 206
  },
  "hsl": {
    "h": 254.634,
    "s": 29.496,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74421,
    "c": 0.05929,
    "h": 296.1
  },
  "luminance": 0.4048
}

Semantic roles & 50–950 ramp

primary
#AFA5CE
secondary
#E8EBE0
accent
#A83D8E
background
#FCFBFD
surface
#F8F7FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA5CE

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

Preview Lab → · Contrast checker → · Palette generator →

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