#AF92FE#AF92FE

#AF92FE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.0% C 0.154 H 294.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AF92FE
RGBrgb(175, 146, 254)
HSLhsl(256, 98%, 78%)
HSVhsv(256, 43%, 100%)
CMYKcmyk(31.1%, 42.5%, 0%, 0.4%)
CIE-LABlab(67.15, 33.72, -50.03)
CIE-LCHlch(67.15, 60.34, 303.98°)
OKLaboklab(73.03% 0.0644 -0.1404)
OKLCHoklch(73.03% 0.154 294.6)
XYZxyz(45.8430, 36.8268, 98.4397)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92FE #E1FE92
analogous
#92ABFE #AF92FE #E592FE
triadic
#AF92FE #FEAF92 #92FEAF
tetradic
#AF92FE #FE92AB #E1FE92 #92FEE5
square
#AF92FE #FE92AB #E1FE92 #92FEE5
split-complementary
#AF92FE #FEE592 #ABFE92
monochromatic
#5619FD #8255FD #AF92FE #DCCFFF #E9E1FF

Accessibility & contrast

On white

2.51
#AF92FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AF92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92FE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92FE#FFFFFF#000000##000000
##AF92FE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#9DA6BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af92fe;
/* rgb */ color: rgb(175, 146, 254);
/* oklch */ color: oklch(73.0% 0.154 294.6);
Tailwind
colors: {
  custom: {
    50: '#c9b2ff',
    500: '#af92fe',
    950: '#000000',
  },
}
SCSS
$custom: #af92fe;
$custom-light: #c9b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af92fe",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 256.111,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73028,
    "c": 0.15443,
    "h": 294.6
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

primary
#AF92FE
secondary
#EEF7D4
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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