#AF91CD#AF91CD

#AF91CD is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.5% C 0.092 H 307.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AF91CD
RGBrgb(175, 145, 205)
HSLhsl(270, 38%, 69%)
HSVhsv(270, 29%, 80%)
CMYKcmyk(14.6%, 29.3%, 0%, 19.6%)
CIE-LABlab(64.78, 22.78, -26.69)
CIE-LCHlch(64.78, 35.09, 310.49°)
OKLaboklab(70.53% 0.0551 -0.0732)
OKLCHoklch(70.53% 0.092 307)
XYZxyz(38.8220, 33.7728, 62.2194)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91CD #AFCD91
analogous
#9191CD #AF91CD #CD91CD
triadic
#AF91CD #CDAF91 #91CDAF
tetradic
#AF91CD #CD9191 #AFCD91 #91CDCD
square
#AF91CD #CD9191 #AFCD91 #91CDCD
split-complementary
#AF91CD #CDCD91 #91CD91
monochromatic
#72479C #9067BA #AF91CD #CEBBE0 #ECE5F3

Accessibility & contrast

On white

2.71
#AF91CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AF91CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91CD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91CD#FFFFFF#000000##000000
##AF91CD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#AB99A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91cd;
/* rgb */ color: rgb(175, 145, 205);
/* oklch */ color: oklch(70.5% 0.092 307.0);
Tailwind
colors: {
  custom: {
    50: '#c7b1dc',
    500: '#af91cd',
    950: '#000000',
  },
}
SCSS
$custom: #af91cd;
$custom-light: #c7b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af91cd",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.09163,
    "h": 307
  },
  "luminance": 0.33773
}

Semantic roles & 50–950 ramp

primary
#AF91CD
secondary
#DDE6D4
accent
#B03573
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF91CD

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

Preview Lab → · Contrast checker → · Palette generator →

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