#AF91FF#AF91FF

#AF91FF is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.9% C 0.157 H 294.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AF91FF
RGBrgb(175, 145, 255)
HSLhsl(256, 100%, 78%)
HSVhsv(256, 43%, 100%)
CMYKcmyk(31.4%, 43.1%, 0%, 0%)
CIE-LABlab(66.96, 34.53, -50.87)
CIE-LCHlch(66.96, 61.48, 304.17°)
OKLaboklab(72.91% 0.0658 -0.1428)
OKLCHoklch(72.91% 0.157 294.7)
XYZxyz(45.8501, 36.5840, 99.2341)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91FF #E1FF91
analogous
#91AAFF #AF91FF #E691FF
triadic
#AF91FF #FFAF91 #91FFAF
tetradic
#AF91FF #FF91AA #E1FF91 #91FFE6
square
#AF91FF #FF91AA #E1FF91 #91FFE6
split-complementary
#AF91FF #FFE691 #AAFF91
monochromatic
#5617FF #8254FF #AF91FF #DCCEFF #E9E0FF

Accessibility & contrast

On white

2.52
#AF91FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AF91FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91FF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91FF#FFFFFF#000000##000000
##AF91FF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#9DA5BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af91ff;
/* rgb */ color: rgb(175, 145, 255);
/* oklch */ color: oklch(72.9% 0.157 294.7);
Tailwind
colors: {
  custom: {
    50: '#c9b1ff',
    500: '#af91ff',
    950: '#000000',
  },
}
SCSS
$custom: #af91ff;
$custom-light: #c9b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af91ff",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 256.364,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72906,
    "c": 0.15724,
    "h": 294.7
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

primary
#AF91FF
secondary
#EEF7D4
accent
#E600A7
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #AF91FF

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

Preview Lab → · Contrast checker → · Palette generator →

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