#AF91C7#AF91C7

#AF91C7 is a light, moderate violet. Relative luminance 0.335; OKLCH L 70.3% C 0.084 H 309.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AF91C7
RGBrgb(175, 145, 199)
HSLhsl(273, 33%, 67%)
HSVhsv(273, 27%, 78%)
CMYKcmyk(12.1%, 27.1%, 0%, 22%)
CIE-LABlab(64.55, 21.48, -23.68)
CIE-LCHlch(64.55, 31.98, 312.21°)
OKLaboklab(70.28% 0.0534 -0.0647)
OKLCHoklch(70.28% 0.084 309.6)
XYZxyz(38.1116, 33.4886, 58.4780)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C7 #A9C791
analogous
#9491C7 #AF91C7 #C791C4
triadic
#AF91C7 #C7AF91 #91C7AF
tetradic
#AF91C7 #C79491 #A9C791 #91C4C7
square
#AF91C7 #C79491 #A9C791 #91C4C7
split-complementary
#AF91C7 #C4C791 #91C794
monochromatic
#734B93 #9268B2 #AF91C7 #CCBADC #EAE2F0

Accessibility & contrast

On white

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

On black

7.70
#AF91C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C7#FFFFFF#000000##000000
##AF91C71.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC9
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#AC98A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91c7;
/* rgb */ color: rgb(175, 145, 199);
/* oklch */ color: oklch(70.3% 0.084 309.6);
Tailwind
colors: {
  custom: {
    50: '#c7b1d8',
    500: '#af91c7',
    950: '#000000',
  },
}
SCSS
$custom: #af91c7;
$custom-light: #c7b1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c7",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 199
  },
  "hsl": {
    "h": 273.333,
    "s": 32.53,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70281,
    "c": 0.0839,
    "h": 309.6
  },
  "luminance": 0.33488
}

Semantic roles & 50–950 ramp

primary
#AF91C7
secondary
#D9E2D1
accent
#AB3A6C
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C7

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

Preview Lab → · Contrast checker → · Palette generator →

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