#AF95BF#AF95BF

#AF95BF is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.7% C 0.067 H 312.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AF95BF
RGBrgb(175, 149, 191)
HSLhsl(277, 25%, 67%)
HSVhsv(277, 22%, 75%)
CMYKcmyk(8.4%, 22%, 0%, 25.1%)
CIE-LABlab(65.26, 17.55, -18.14)
CIE-LCHlch(65.26, 25.24, 314.06°)
OKLaboklab(70.73% 0.045 -0.0492)
OKLCHoklch(70.73% 0.067 312.4)
XYZxyz(37.8291, 34.3708, 53.9215)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95BF #A5BF95
analogous
#9A95BF #AF95BF #BF95BA
triadic
#AF95BF #BFAF95 #95BFAF
tetradic
#AF95BF #BF9A95 #A5BF95 #95BABF
square
#AF95BF #BF9A95 #A5BF95 #95BABF
split-complementary
#AF95BF #BABF95 #95BF9A
monochromatic
#735288 #926FA8 #AF95BF #CCBBD6 #E9E1ED

Accessibility & contrast

On white

2.67
#AF95BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AF95BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95BF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95BF#FFFFFF#000000##000000
##AF95BF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#949FBE
Tritanopia (blue-blind)
#AE9AA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af95bf;
/* rgb */ color: rgb(175, 149, 191);
/* oklch */ color: oklch(70.7% 0.067 312.4);
Tailwind
colors: {
  custom: {
    50: '#c7b4d2',
    500: '#af95bf',
    950: '#000000',
  },
}
SCSS
$custom: #af95bf;
$custom-light: #c7b4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af95bf",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 277.143,
    "s": 24.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.06662,
    "h": 312.4
  },
  "luminance": 0.3437
}

Semantic roles & 50–950 ramp

primary
#AF95BF
secondary
#D6DFD1
accent
#A34267
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #AF95BF

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

Preview Lab → · Contrast checker → · Palette generator →

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