#AF85BC#AF85BC

#AF85BC is a light, moderate purple. Relative luminance 0.295; OKLCH L 67.6% C 0.092 H 318.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AF85BC
RGBrgb(175, 133, 188)
HSLhsl(286, 29%, 63%)
HSVhsv(286, 29%, 74%)
CMYKcmyk(6.9%, 29.3%, 0%, 26.3%)
CIE-LABlab(61.24, 25.94, -22.57)
CIE-LCHlch(61.24, 34.39, 318.98°)
OKLaboklab(67.61% 0.0684 -0.0615)
OKLCHoklch(67.61% 0.092 318.1)
XYZxyz(35.1425, 29.5206, 51.4140)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85BC #92BC85
analogous
#9385BC #AF85BC #BC85AD
triadic
#AF85BC #BCAF85 #85BCAF
tetradic
#AF85BC #BC9385 #92BC85 #85ADBC
square
#AF85BC #BC9385 #92BC85 #85ADBC
split-complementary
#AF85BC #ADBC85 #85BC93
monochromatic
#734680 #955DA6 #AF85BC #C9ADD2 #E3D4E7

Accessibility & contrast

On white

3.04
#AF85BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AF85BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF85BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85BC#FFFFFF#000000##000000
##AF85BC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BE
Deuteranopia (green-blind)
#8895BA
Tritanopia (blue-blind)
#AF8B99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af85bc;
/* rgb */ color: rgb(175, 133, 188);
/* oklch */ color: oklch(67.6% 0.092 318.1);
Tailwind
colors: {
  custom: {
    50: '#c7a9d0',
    500: '#af85bc',
    950: '#000000',
  },
}
SCSS
$custom: #af85bc;
$custom-light: #c7a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af85bc",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 188
  },
  "hsl": {
    "h": 285.818,
    "s": 29.101,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.09197,
    "h": 318.1
  },
  "luminance": 0.2952
}

Semantic roles & 50–950 ramp

primary
#AF85BC
secondary
#C9D8C4
accent
#A83E57
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF85BC

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

Preview Lab → · Contrast checker → · Palette generator →

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