#AF91C5#AF91C5

#AF91C5 is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.2% C 0.081 H 310.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AF91C5
RGBrgb(175, 145, 197)
HSLhsl(275, 31%, 67%)
HSVhsv(275, 26%, 77%)
CMYKcmyk(11.2%, 26.4%, 0%, 22.7%)
CIE-LABlab(64.48, 21.06, -22.68)
CIE-LCHlch(64.48, 30.95, 312.88°)
OKLaboklab(70.2% 0.0529 -0.0618)
OKLCHoklch(70.2% 0.081 310.5)
XYZxyz(37.8809, 33.3964, 57.2630)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C5 #A7C591
analogous
#9591C5 #AF91C5 #C591C1
triadic
#AF91C5 #C5AF91 #91C5AF
tetradic
#AF91C5 #C59591 #A7C591 #91C1C5
square
#AF91C5 #C59591 #A7C591 #91C1C5
split-complementary
#AF91C5 #C1C591 #91C595
monochromatic
#734C90 #9269B0 #AF91C5 #CCB9DA #E9E1EF

Accessibility & contrast

On white

2.73
#AF91C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AF91C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C5#FFFFFF#000000##000000
##AF91C51.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC7
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#AD98A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c5;
/* rgb */ color: rgb(175, 145, 197);
/* oklch */ color: oklch(70.2% 0.081 310.5);
Tailwind
colors: {
  custom: {
    50: '#c7b1d6',
    500: '#af91c5',
    950: '#000000',
  },
}
SCSS
$custom: #af91c5;
$custom-light: #c7b1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c5",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 197
  },
  "hsl": {
    "h": 274.615,
    "s": 30.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.702,
    "c": 0.08135,
    "h": 310.5
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#AF91C5
secondary
#D8E1D1
accent
#AA3C6A
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C5

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

Preview Lab → · Contrast checker → · Palette generator →

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