#AF94BF#AF94BF

#AF94BF is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.5% C 0.068 H 312.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#AF94BF
RGBrgb(175, 148, 191)
HSLhsl(278, 25%, 66%)
HSVhsv(278, 23%, 75%)
CMYKcmyk(8.4%, 22.5%, 0%, 25.1%)
CIE-LABlab(65.01, 18.11, -18.51)
CIE-LCHlch(65.01, 25.90, 314.37°)
OKLaboklab(70.53% 0.0465 -0.0502)
OKLCHoklch(70.53% 0.068 312.8)
XYZxyz(37.6715, 34.0558, 53.8690)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94BF #A4BF94
analogous
#9A94BF #AF94BF #BF94BA
triadic
#AF94BF #BFAF94 #94BFAF
tetradic
#AF94BF #BF9A94 #A4BF94 #94BABF
square
#AF94BF #BF9A94 #A4BF94 #94BABF
split-complementary
#AF94BF #BABF94 #94BF9A
monochromatic
#735188 #926EA8 #AF94BF #CCBAD6 #E8E1ED

Accessibility & contrast

On white

2.69
#AF94BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AF94BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94BF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94BF#FFFFFF#000000##000000
##AF94BF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CC1
Deuteranopia (green-blind)
#939EBE
Tritanopia (blue-blind)
#AE99A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af94bf;
/* rgb */ color: rgb(175, 148, 191);
/* oklch */ color: oklch(70.5% 0.068 312.8);
Tailwind
colors: {
  custom: {
    50: '#c7b3d2',
    500: '#af94bf',
    950: '#000000',
  },
}
SCSS
$custom: #af94bf;
$custom-light: #c7b3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af94bf",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 191
  },
  "hsl": {
    "h": 277.674,
    "s": 25.146,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.06841,
    "h": 312.8
  },
  "luminance": 0.34055
}

Semantic roles & 50–950 ramp

primary
#AF94BF
secondary
#D6DED0
accent
#A44266
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #AF94BF

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

Preview Lab → · Contrast checker → · Palette generator →

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