#AF91DF#AF91DF

#AF91DF is a light, moderate violet. Relative luminance 0.347; OKLCH L 71.3% C 0.115 H 301.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#AF91DF
RGBrgb(175, 145, 223)
HSLhsl(263, 55%, 72%)
HSVhsv(263, 35%, 87%)
CMYKcmyk(21.5%, 35%, 0%, 12.5%)
CIE-LABlab(65.51, 26.83, -35.57)
CIE-LCHlch(65.51, 44.55, 307.03°)
OKLaboklab(71.33% 0.0597 -0.0985)
OKLCHoklch(71.33% 0.115 301.2)
XYZxyz(41.1210, 34.6924, 74.3277)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91DF #C1DF91
analogous
#919ADF #AF91DF #D691DF
triadic
#AF91DF #DFAF91 #91DFAF
tetradic
#AF91DF #DF919A #C1DF91 #91DFD6
square
#AF91DF #DF919A #C1DF91 #91DFD6
split-complementary
#AF91DF #DFD691 #9ADF91
monochromatic
#6B37BE #8D62D1 #AF91DF #D1C0ED #EEE7F8

Accessibility & contrast

On white

2.65
#AF91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#AF91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91DF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91DF#FFFFFF#000000##000000
##AF91DF1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE2
Deuteranopia (green-blind)
#859FDD
Tritanopia (blue-blind)
#A79DAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af91df;
/* rgb */ color: rgb(175, 145, 223);
/* oklch */ color: oklch(71.3% 0.115 301.2);
Tailwind
colors: {
  custom: {
    50: '#c8b1e9',
    500: '#af91df',
    950: '#000000',
  },
}
SCSS
$custom: #af91df;
$custom-light: #c8b1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af91df",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 263.077,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.11521,
    "h": 301.2
  },
  "luminance": 0.34692
}

Semantic roles & 50–950 ramp

primary
#AF91DF
secondary
#E8EFDC
accent
#C22385
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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