#AF91C8#AF91C8

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

Color values

HEX#AF91C8
RGBrgb(175, 145, 200)
HSLhsl(273, 33%, 68%)
HSVhsv(273, 28%, 78%)
CMYKcmyk(12.5%, 27.5%, 0%, 21.6%)
CIE-LABlab(64.59, 21.70, -24.18)
CIE-LCHlch(64.59, 32.49, 311.90°)
OKLaboklab(70.32% 0.0537 -0.0661)
OKLCHoklch(70.32% 0.085 309.1)
XYZxyz(38.2281, 33.5352, 59.0914)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91C8 #AAC891
analogous
#9391C8 #AF91C8 #C891C5
triadic
#AF91C8 #C8AF91 #91C8AF
tetradic
#AF91C8 #C89391 #AAC891 #91C5C8
square
#AF91C8 #C89391 #AAC891 #91C5C8
split-complementary
#AF91C8 #C5C891 #91C893
monochromatic
#734A94 #9168B4 #AF91C8 #CDBADC #EAE3F1

Accessibility & contrast

On white

2.72
#AF91C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AF91C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91C8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91C8#FFFFFF#000000##000000
##AF91C81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af91c8;
/* rgb */ color: rgb(175, 145, 200);
/* oklch */ color: oklch(70.3% 0.085 309.1);
Tailwind
colors: {
  custom: {
    50: '#c7b1d8',
    500: '#af91c8',
    950: '#000000',
  },
}
SCSS
$custom: #af91c8;
$custom-light: #c7b1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af91c8",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 200
  },
  "hsl": {
    "h": 272.727,
    "s": 33.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70322,
    "c": 0.08518,
    "h": 309.1
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

primary
#AF91C8
secondary
#DAE3D2
accent
#AC396E
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91C8

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

Preview Lab → · Contrast checker → · Palette generator →

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