#AF91C3#AF91C3

#AF91C3 is a light, moderate violet. Relative luminance 0.333; OKLCH L 70.1% C 0.079 H 311.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AF91C3
RGBrgb(175, 145, 195)
HSLhsl(276, 29%, 67%)
HSVhsv(276, 26%, 76%)
CMYKcmyk(10.3%, 25.6%, 0%, 23.5%)
CIE-LABlab(64.41, 20.64, -21.67)
CIE-LCHlch(64.41, 29.92, 313.60°)
OKLaboklab(70.12% 0.0523 -0.059)
OKLCHoklch(70.12% 0.079 311.5)
XYZxyz(37.6533, 33.3053, 56.0642)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C3 #A5C391
analogous
#9691C3 #AF91C3 #C391BE
triadic
#AF91C3 #C3AF91 #91C3AF
tetradic
#AF91C3 #C39691 #A5C391 #91BEC3
square
#AF91C3 #C39691 #A5C391 #91BEC3
split-complementary
#AF91C3 #BEC391 #91C396
monochromatic
#734D8D #9269AD #AF91C3 #CCB9D9 #E9E0EE

Accessibility & contrast

On white

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

On black

7.66
#AF91C3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C3#FFFFFF#000000##000000
##AF91C31.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC5
Deuteranopia (green-blind)
#8F9DC1
Tritanopia (blue-blind)
#AD97A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c3;
/* rgb */ color: rgb(175, 145, 195);
/* oklch */ color: oklch(70.1% 0.079 311.5);
Tailwind
colors: {
  custom: {
    50: '#c7b1d5',
    500: '#af91c3',
    950: '#000000',
  },
}
SCSS
$custom: #af91c3;
$custom-light: #c7b1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c3",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 195
  },
  "hsl": {
    "h": 276,
    "s": 29.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7012,
    "c": 0.07882,
    "h": 311.5
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#AF91C3
secondary
#D6E0D0
accent
#A83D68
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C3

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

Preview Lab → · Contrast checker → · Palette generator →

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