#AF91C2#AF91C2

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

Color values

HEX#AF91C2
RGBrgb(175, 145, 194)
HSLhsl(277, 29%, 66%)
HSVhsv(277, 25%, 76%)
CMYKcmyk(9.8%, 25.3%, 0%, 23.9%)
CIE-LABlab(64.37, 20.43, -21.16)
CIE-LCHlch(64.37, 29.41, 313.98°)
OKLaboklab(70.08% 0.0519 -0.0576)
OKLCHoklch(70.08% 0.078 312)
XYZxyz(37.5406, 33.2602, 55.4707)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C2 #A4C291
analogous
#9791C2 #AF91C2 #C291BD
triadic
#AF91C2 #C2AF91 #91C2AF
tetradic
#AF91C2 #C29791 #A4C291 #91BDC2
square
#AF91C2 #C29791 #A4C291 #91BDC2
split-complementary
#AF91C2 #BDC291 #91C297
monochromatic
#734D8B #926AAC #AF91C2 #CCB8D8 #E8E0EE

Accessibility & contrast

On white

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

On black

7.65
#AF91C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C2#FFFFFF#000000##000000
##AF91C21.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC4
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#AD97A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c2;
/* rgb */ color: rgb(175, 145, 194);
/* oklch */ color: oklch(70.1% 0.078 312.0);
Tailwind
colors: {
  custom: {
    50: '#c7b1d4',
    500: '#af91c2',
    950: '#000000',
  },
}
SCSS
$custom: #af91c2;
$custom-light: #c7b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c2",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 276.735,
    "s": 28.655,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.07756,
    "h": 312
  },
  "luminance": 0.3326
}

Semantic roles & 50–950 ramp

primary
#AF91C2
secondary
#D6DFCF
accent
#A73E67
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C2

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

Preview Lab → · Contrast checker → · Palette generator →

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