#AF92FA#AF92FA

#AF92FA is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.8% C 0.149 H 295.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#AF92FA
RGBrgb(175, 146, 250)
HSLhsl(257, 91%, 78%)
HSVhsv(257, 42%, 98%)
CMYKcmyk(30%, 41.6%, 0%, 2%)
CIE-LABlab(66.96, 32.73, -48.15)
CIE-LCHlch(66.96, 58.22, 304.21°)
OKLaboklab(72.82% 0.0637 -0.1349)
OKLCHoklch(72.82% 0.149 295.3)
XYZxyz(45.2092, 36.5732, 95.1014)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92FA #DDFA92
analogous
#92A9FA #AF92FA #E392FA
triadic
#AF92FA #FAAF92 #92FAAF
tetradic
#AF92FA #FA92A9 #DDFA92 #92FAE3
square
#AF92FA #FA92A9 #DDFA92 #92FAE3
split-complementary
#AF92FA #FAE392 #A9FA92
monochromatic
#591DF5 #8457F7 #AF92FA #DACDFD #EAE2FE

Accessibility & contrast

On white

2.53
#AF92FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AF92FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92FA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92FA#FFFFFF#000000##000000
##AF92FA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#9FA5BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af92fa;
/* rgb */ color: rgb(175, 146, 250);
/* oklch */ color: oklch(72.8% 0.149 295.3);
Tailwind
colors: {
  custom: {
    50: '#c9b2fc',
    500: '#af92fa',
    950: '#000000',
  },
}
SCSS
$custom: #af92fa;
$custom-light: #c9b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af92fa",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 256.731,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72821,
    "c": 0.14919,
    "h": 295.3
  },
  "luminance": 0.36574
}

Semantic roles & 50–950 ramp

primary
#AF92FA
secondary
#EDF6D5
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF92FA

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

Preview Lab → · Contrast checker → · Palette generator →

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