#AF91FA#AF91FA

#AF91FA is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.6% C 0.151 H 295.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AF91FA
RGBrgb(175, 145, 250)
HSLhsl(257, 91%, 77%)
HSVhsv(257, 42%, 98%)
CMYKcmyk(30%, 42%, 0%, 2%)
CIE-LABlab(66.72, 33.29, -48.52)
CIE-LCHlch(66.72, 58.84, 304.46°)
OKLaboklab(72.65% 0.0651 -0.136)
OKLCHoklch(72.65% 0.151 295.6)
XYZxyz(45.0557, 36.2663, 95.0503)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91FA #DCFA91
analogous
#91A7FA #AF91FA #E491FA
triadic
#AF91FA #FAAF91 #91FAAF
tetradic
#AF91FA #FA91A7 #DCFA91 #91FAE4
square
#AF91FA #FA91A7 #DCFA91 #91FAE4
split-complementary
#AF91FA #FAE491 #A7FA91
monochromatic
#5A1CF5 #8456F7 #AF91FA #DACCFD #EAE2FE

Accessibility & contrast

On white

2.54
#AF91FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AF91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91FA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91FA#FFFFFF#000000##000000
##AF91FA1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#9FA4BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af91fa;
/* rgb */ color: rgb(175, 145, 250);
/* oklch */ color: oklch(72.6% 0.151 295.6);
Tailwind
colors: {
  custom: {
    50: '#c9b1fc',
    500: '#af91fa',
    950: '#000000',
  },
}
SCSS
$custom: #af91fa;
$custom-light: #c9b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af91fa",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 257.143,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72645,
    "c": 0.15073,
    "h": 295.6
  },
  "luminance": 0.36267
}

Semantic roles & 50–950 ramp

primary
#AF91FA
secondary
#ECF6D5
accent
#E600A4
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131117
muted
#828085

Preview Lab

Preview with #AF91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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