#AF91CC#AF91CC

#AF91CC is a light, moderate violet. Relative luminance 0.337; OKLCH L 70.5% C 0.090 H 307.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF91CC
RGBrgb(175, 145, 204)
HSLhsl(271, 37%, 68%)
HSVhsv(271, 29%, 80%)
CMYKcmyk(14.2%, 28.9%, 0%, 20%)
CIE-LABlab(64.74, 22.56, -26.19)
CIE-LCHlch(64.74, 34.57, 310.75°)
OKLaboklab(70.49% 0.0549 -0.0718)
OKLCHoklch(70.49% 0.09 307.4)
XYZxyz(38.7016, 33.7247, 61.5857)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91CC #AECC91
analogous
#9191CC #AF91CC #CC91CB
triadic
#AF91CC #CCAF91 #91CCAF
tetradic
#AF91CC #CC9191 #AECC91 #91CBCC
square
#AF91CC #CC9191 #AECC91 #91CBCC
split-complementary
#AF91CC #CBCC91 #91CC91
monochromatic
#72489B #9167B9 #AF91CC #CDBBDF #ECE5F3

Accessibility & contrast

On white

2.71
#AF91CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF91CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91CC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91CC#FFFFFF#000000##000000
##AF91CC1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCE
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#AB99A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91cc;
/* rgb */ color: rgb(175, 145, 204);
/* oklch */ color: oklch(70.5% 0.090 307.4);
Tailwind
colors: {
  custom: {
    50: '#c7b1db',
    500: '#af91cc',
    950: '#000000',
  },
}
SCSS
$custom: #af91cc;
$custom-light: #c7b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#af91cc",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 270.508,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70488,
    "c": 0.09033,
    "h": 307.4
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#AF91CC
secondary
#DCE5D4
accent
#B03672
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF91CC

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

Preview Lab → · Contrast checker → · Palette generator →

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