#AF92F6#AF92F6

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

Color values

HEX#AF92F6
RGBrgb(175, 146, 246)
HSLhsl(257, 85%, 77%)
HSVhsv(257, 41%, 96%)
CMYKcmyk(28.9%, 40.7%, 0%, 3.5%)
CIE-LABlab(66.77, 31.75, -46.26)
CIE-LCHlch(66.77, 56.11, 304.46°)
OKLaboklab(72.62% 0.063 -0.1294)
OKLCHoklch(72.62% 0.144 296)
XYZxyz(44.5886, 36.3250, 91.8332)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92F6 #D9F692
analogous
#92A7F6 #AF92F6 #E192F6
triadic
#AF92F6 #F6AF92 #92F6AF
tetradic
#AF92F6 #F692A7 #D9F692 #92F6E1
square
#AF92F6 #F692A7 #D9F692 #92F6E1
split-complementary
#AF92F6 #F6E192 #A7F692
monochromatic
#5C21ED #8659F1 #AF92F6 #D8CBFB #EAE3FD

Accessibility & contrast

On white

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

On black

8.27
#AF92F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92F6
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92F6#FFFFFF#000000##000000
##AF92F61.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#A0A4B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af92f6;
/* rgb */ color: rgb(175, 146, 246);
/* oklch */ color: oklch(72.6% 0.144 296.0);
Tailwind
colors: {
  custom: {
    50: '#c9b2f9',
    500: '#af92f6',
    950: '#000000',
  },
}
SCSS
$custom: #af92f6;
$custom-light: #c9b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af92f6",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 246
  },
  "hsl": {
    "h": 257.4,
    "s": 84.746,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.14394,
    "h": 296
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#AF92F6
secondary
#ECF5D6
accent
#E104A1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF92F6

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

Preview Lab → · Contrast checker → · Palette generator →

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