#AF91C0#AF91C0

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

Color values

HEX#AF91C0
RGBrgb(175, 145, 192)
HSLhsl(278, 27%, 66%)
HSVhsv(278, 24%, 75%)
CMYKcmyk(8.9%, 24.5%, 0%, 24.7%)
CIE-LABlab(64.30, 20.01, -20.15)
CIE-LCHlch(64.30, 28.40, 314.79°)
OKLaboklab(70% 0.0513 -0.0548)
OKLCHoklch(70% 0.075 313.1)
XYZxyz(37.3175, 33.1710, 54.2957)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C0 #A2C091
analogous
#9791C0 #AF91C0 #C091B9
triadic
#AF91C0 #C0AF91 #91C0AF
tetradic
#AF91C0 #C09791 #A2C091 #91B9C0
square
#AF91C0 #C09791 #A2C091 #91B9C0
split-complementary
#AF91C0 #B9C091 #91C097
monochromatic
#734E88 #936AAA #AF91C0 #CBB8D6 #E8DFED

Accessibility & contrast

On white

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

On black

7.63
#AF91C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C0#FFFFFF#000000##000000
##AF91C01.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC2
Deuteranopia (green-blind)
#909DBE
Tritanopia (blue-blind)
#AE97A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91c0;
/* rgb */ color: rgb(175, 145, 192);
/* oklch */ color: oklch(70.0% 0.075 313.1);
Tailwind
colors: {
  custom: {
    50: '#c7b1d3',
    500: '#af91c0',
    950: '#000000',
  },
}
SCSS
$custom: #af91c0;
$custom-light: #c7b1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c0",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 192
  },
  "hsl": {
    "h": 278.298,
    "s": 27.168,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70001,
    "c": 0.07506,
    "h": 313.1
  },
  "luminance": 0.33171
}

Semantic roles & 50–950 ramp

primary
#AF91C0
secondary
#D4DECF
accent
#A64065
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF91C0

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

Preview Lab → · Contrast checker → · Palette generator →

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