#AF91C9#AF91C9

#AF91C9 is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.4% C 0.086 H 308.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AF91C9
RGBrgb(175, 145, 201)
HSLhsl(272, 34%, 68%)
HSVhsv(272, 28%, 79%)
CMYKcmyk(12.9%, 27.9%, 0%, 21.2%)
CIE-LABlab(64.63, 21.91, -24.69)
CIE-LCHlch(64.63, 33.01, 311.59°)
OKLaboklab(70.36% 0.054 -0.0675)
OKLCHoklch(70.36% 0.086 308.7)
XYZxyz(38.3453, 33.5821, 59.7089)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C9 #ABC991
analogous
#9391C9 #AF91C9 #C991C7
triadic
#AF91C9 #C9AF91 #91C9AF
tetradic
#AF91C9 #C99391 #ABC991 #91C7C9
square
#AF91C9 #C99391 #ABC991 #91C7C9
split-complementary
#AF91C9 #C7C991 #91C993
monochromatic
#734A96 #9168B5 #AF91C9 #CDBADD #EBE3F1

Accessibility & contrast

On white

2.72
#AF91C9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AF91C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C9#FFFFFF#000000##000000
##AF91C91.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCB
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#AC98A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91c9;
/* rgb */ color: rgb(175, 145, 201);
/* oklch */ color: oklch(70.4% 0.086 308.7);
Tailwind
colors: {
  custom: {
    50: '#c7b1d9',
    500: '#af91c9',
    950: '#000000',
  },
}
SCSS
$custom: #af91c9;
$custom-light: #c7b1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c9",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 201
  },
  "hsl": {
    "h": 272.143,
    "s": 34.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.08646,
    "h": 308.7
  },
  "luminance": 0.33582
}

Semantic roles & 50–950 ramp

primary
#AF91C9
secondary
#DAE4D2
accent
#AD396F
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C9

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

Preview Lab → · Contrast checker → · Palette generator →

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