#AF92FC#AF92FC

#AF92FC is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.9% C 0.152 H 295.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AF92FC
RGBrgb(175, 146, 252)
HSLhsl(256, 95%, 78%)
HSVhsv(256, 42%, 99%)
CMYKcmyk(30.6%, 42.1%, 0%, 1.2%)
CIE-LABlab(67.05, 33.23, -49.09)
CIE-LCHlch(67.05, 59.28, 304.09°)
OKLaboklab(72.92% 0.0641 -0.1376)
OKLCHoklch(72.92% 0.152 295)
XYZxyz(45.5244, 36.6993, 96.7618)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92FC #DFFC92
analogous
#92AAFC #AF92FC #E492FC
triadic
#AF92FC #FCAF92 #92FCAF
tetradic
#AF92FC #FC92AA #DFFC92 #92FCE4
square
#AF92FC #FC92AA #DFFC92 #92FCE4
split-complementary
#AF92FC #FCE492 #AAFC92
monochromatic
#581BF9 #8356FA #AF92FC #DBCEFE #E9E1FE

Accessibility & contrast

On white

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

On black

8.34
#AF92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92FC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92FC#FFFFFF#000000##000000
##AF92FC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#9EA5BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af92fc;
/* rgb */ color: rgb(175, 146, 252);
/* oklch */ color: oklch(72.9% 0.152 295.0);
Tailwind
colors: {
  custom: {
    50: '#c9b2fe',
    500: '#af92fc',
    950: '#000000',
  },
}
SCSS
$custom: #af92fc;
$custom-light: #c9b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af92fc",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 256.415,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72924,
    "c": 0.15181,
    "h": 295
  },
  "luminance": 0.367
}

Semantic roles & 50–950 ramp

primary
#AF92FC
secondary
#EDF6D5
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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