#AF91CF#AF91CF

#AF91CF is a light, moderate violet. Relative luminance 0.339; OKLCH L 70.6% C 0.094 H 306.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AF91CF
RGBrgb(175, 145, 207)
HSLhsl(269, 39%, 69%)
HSVhsv(269, 30%, 81%)
CMYKcmyk(15.5%, 30%, 0%, 18.8%)
CIE-LABlab(64.86, 23.22, -27.68)
CIE-LCHlch(64.86, 36.13, 309.99°)
OKLaboklab(70.62% 0.0557 -0.076)
OKLCHoklch(70.62% 0.094 306.2)
XYZxyz(39.0649, 33.8700, 63.4989)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91CF #B1CF91
analogous
#9192CF #AF91CF #CE91CF
triadic
#AF91CF #CFAF91 #91CFAF
tetradic
#AF91CF #CF9192 #B1CF91 #91CFCE
square
#AF91CF #CF9192 #B1CF91 #91CFCE
split-complementary
#AF91CF #CFCE91 #92CF91
monochromatic
#7146A0 #9066BC #AF91CF #CEBCE2 #EDE6F4

Accessibility & contrast

On white

2.70
#AF91CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AF91CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91CF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91CF#FFFFFF#000000##000000
##AF91CF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#859CD2
Deuteranopia (green-blind)
#8B9ECD
Tritanopia (blue-blind)
#AB9AA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91cf;
/* rgb */ color: rgb(175, 145, 207);
/* oklch */ color: oklch(70.6% 0.094 306.2);
Tailwind
colors: {
  custom: {
    50: '#c7b1de',
    500: '#af91cf',
    950: '#000000',
  },
}
SCSS
$custom: #af91cf;
$custom-light: #c7b1de;
$custom-dark: #000000;
JSON
{
  "hex": "#af91cf",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 207
  },
  "hsl": {
    "h": 269.032,
    "s": 39.241,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.09422,
    "h": 306.2
  },
  "luminance": 0.3387
}

Semantic roles & 50–950 ramp

primary
#AF91CF
secondary
#DEE7D5
accent
#B23375
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF91CF

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

Preview Lab → · Contrast checker → · Palette generator →

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