#AF91C1#AF91C1

#AF91C1 is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.0% C 0.076 H 312.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AF91C1
RGBrgb(175, 145, 193)
HSLhsl(278, 28%, 66%)
HSVhsv(278, 25%, 76%)
CMYKcmyk(9.3%, 24.9%, 0%, 24.3%)
CIE-LABlab(64.33, 20.22, -20.66)
CIE-LCHlch(64.33, 28.90, 314.38°)
OKLaboklab(70.04% 0.0516 -0.0562)
OKLCHoklch(70.04% 0.076 312.6)
XYZxyz(37.4286, 33.2155, 54.8812)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C1 #A3C191
analogous
#9791C1 #AF91C1 #C191BB
triadic
#AF91C1 #C1AF91 #91C1AF
tetradic
#AF91C1 #C19791 #A3C191 #91BBC1
square
#AF91C1 #C19791 #A3C191 #91BBC1
split-complementary
#AF91C1 #BBC191 #91C197
monochromatic
#734E8A #936AAB #AF91C1 #CBB8D7 #E8DFED

Accessibility & contrast

On white

2.75
#AF91C1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AF91C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C1
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C1#FFFFFF#000000##000000
##AF91C11.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC3
Deuteranopia (green-blind)
#909DBF
Tritanopia (blue-blind)
#AE97A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c1;
/* rgb */ color: rgb(175, 145, 193);
/* oklch */ color: oklch(70.0% 0.076 312.6);
Tailwind
colors: {
  custom: {
    50: '#c7b1d3',
    500: '#af91c1',
    950: '#000000',
  },
}
SCSS
$custom: #af91c1;
$custom-light: #c7b1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c1",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 193
  },
  "hsl": {
    "h": 277.5,
    "s": 27.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7004,
    "c": 0.07631,
    "h": 312.6
  },
  "luminance": 0.33215
}

Semantic roles & 50–950 ramp

primary
#AF91C1
secondary
#D5DFCF
accent
#A73F66
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF91C1

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

Preview Lab → · Contrast checker → · Palette generator →

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