#AF5CBF#AF5CBF

#AF5CBF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.167 H 321.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF5CBF
RGBrgb(175, 92, 191)
HSLhsl(290, 44%, 55%)
HSVhsv(290, 52%, 75%)
CMYKcmyk(8.4%, 51.8%, 0%, 25.1%)
CIE-LABlab(52.43, 48.87, -37.96)
CIE-LCHlch(52.43, 61.88, 322.16°)
OKLaboklab(61.03% 0.1296 -0.1051)
OKLCHoklch(61.03% 0.167 321)
XYZxyz(30.9092, 20.5312, 51.6149)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CBF #6CBF5C
analogous
#7D5CBF #AF5CBF #BF5C9D
triadic
#AF5CBF #BFAF5C #5CBFAF
tetradic
#AF5CBF #BF7D5C #6CBF5C #5C9DBF
square
#AF5CBF #BF7D5C #6CBF5C #5C9DBF
split-complementary
#AF5CBF #9DBF5C #5CBF7D
monochromatic
#682D73 #903F9F #AF5CBF #C588D0 #DAB4E2

Accessibility & contrast

On white

4.11
#AF5CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AF5CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CBF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CBF#FFFFFF#000000##000000
##AF5CBF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#B06A85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5cbf;
/* rgb */ color: rgb(175, 92, 191);
/* oklch */ color: oklch(61.0% 0.167 321.0);
Tailwind
colors: {
  custom: {
    50: '#c98dd2',
    500: '#af5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #af5cbf;
$custom-light: #c98dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cbf",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 290.303,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.16686,
    "h": 321
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#AF5CBF
secondary
#ADD0A7
accent
#D35469
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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