#AF94BC#AF94BC

#AF94BC is a light, moderate purple. Relative luminance 0.339; OKLCH L 70.4% C 0.065 H 314.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AF94BC
RGBrgb(175, 148, 188)
HSLhsl(281, 23%, 66%)
HSVhsv(281, 21%, 74%)
CMYKcmyk(6.9%, 21.3%, 0%, 26.3%)
CIE-LABlab(64.90, 17.49, -16.99)
CIE-LCHlch(64.90, 24.39, 315.83°)
OKLaboklab(70.42% 0.0455 -0.046)
OKLCHoklch(70.42% 0.065 314.7)
XYZxyz(37.3448, 33.9251, 52.1481)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94BC #A1BC94
analogous
#9B94BC #AF94BC #BC94B5
triadic
#AF94BC #BCAF94 #94BCAF
tetradic
#AF94BC #BC9B94 #A1BC94 #94B5BC
square
#AF94BC #BC9B94 #A1BC94 #94B5BC
split-complementary
#AF94BC #B5BC94 #94BC9B
monochromatic
#735283 #936EA4 #AF94BC #CBBAD4 #E7DFEB

Accessibility & contrast

On white

2.70
#AF94BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AF94BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94BC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94BC#FFFFFF#000000##000000
##AF94BC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBE
Deuteranopia (green-blind)
#949EBB
Tritanopia (blue-blind)
#AE98A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af94bc;
/* rgb */ color: rgb(175, 148, 188);
/* oklch */ color: oklch(70.4% 0.065 314.7);
Tailwind
colors: {
  custom: {
    50: '#c7b3d0',
    500: '#af94bc',
    950: '#000000',
  },
}
SCSS
$custom: #af94bc;
$custom-light: #c7b3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af94bc",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 188
  },
  "hsl": {
    "h": 280.5,
    "s": 22.989,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.06468,
    "h": 314.7
  },
  "luminance": 0.33925
}

Semantic roles & 50–950 ramp

primary
#AF94BC
secondary
#D4DDCF
accent
#A14462
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #AF94BC

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

Preview Lab → · Contrast checker → · Palette generator →

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