#AF91C4#AF91C4

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

Color values

HEX#AF91C4
RGBrgb(175, 145, 196)
HSLhsl(275, 30%, 67%)
HSVhsv(275, 26%, 77%)
CMYKcmyk(10.7%, 26%, 0%, 23.1%)
CIE-LABlab(64.44, 20.85, -22.17)
CIE-LCHlch(64.44, 30.43, 313.23°)
OKLaboklab(70.16% 0.0526 -0.0604)
OKLCHoklch(70.16% 0.08 311)
XYZxyz(37.7667, 33.3507, 56.6616)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C4 #A6C491
analogous
#9691C4 #AF91C4 #C491C0
triadic
#AF91C4 #C4AF91 #91C4AF
tetradic
#AF91C4 #C49691 #A6C491 #91C0C4
square
#AF91C4 #C49691 #A6C491 #91C0C4
split-complementary
#AF91C4 #C0C491 #91C496
monochromatic
#734C8E #9269AF #AF91C4 #CCB9D9 #E9E1EF

Accessibility & contrast

On white

2.74
#AF91C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#AF91C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C4#FFFFFF#000000##000000
##AF91C41.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC6
Deuteranopia (green-blind)
#8F9DC2
Tritanopia (blue-blind)
#AD97A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c4;
/* rgb */ color: rgb(175, 145, 196);
/* oklch */ color: oklch(70.2% 0.080 311.0);
Tailwind
colors: {
  custom: {
    50: '#c7b1d6',
    500: '#af91c4',
    950: '#000000',
  },
}
SCSS
$custom: #af91c4;
$custom-light: #c7b1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c4",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 196
  },
  "hsl": {
    "h": 275.294,
    "s": 30.178,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7016,
    "c": 0.08008,
    "h": 311
  },
  "luminance": 0.3335
}

Semantic roles & 50–950 ramp

primary
#AF91C4
secondary
#D7E1D0
accent
#A93D69
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C4

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

Preview Lab → · Contrast checker → · Palette generator →

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