#AF92FF#AF92FF

#AF92FF is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.1% C 0.156 H 294.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AF92FF
RGBrgb(175, 146, 255)
HSLhsl(256, 100%, 79%)
HSVhsv(256, 43%, 100%)
CMYKcmyk(31.4%, 42.7%, 0%, 0%)
CIE-LABlab(67.20, 33.97, -50.50)
CIE-LCHlch(67.20, 60.87, 303.93°)
OKLaboklab(73.08% 0.0645 -0.1417)
OKLCHoklch(73.08% 0.156 294.5)
XYZxyz(46.0036, 36.8910, 99.2853)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92FF #E2FF92
analogous
#92ABFF #AF92FF #E592FF
triadic
#AF92FF #FFAF92 #92FFAF
tetradic
#AF92FF #FF92AB #E2FF92 #92FFE5
square
#AF92FF #FF92AB #E2FF92 #92FFE5
split-complementary
#AF92FF #FFE592 #ABFF92
monochromatic
#5518FF #8255FF #AF92FF #DCCFFF #E9E0FF

Accessibility & contrast

On white

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

On black

8.38
#AF92FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92FF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92FF#FFFFFF#000000##000000
##AF92FF1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#9DA6BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af92ff;
/* rgb */ color: rgb(175, 146, 255);
/* oklch */ color: oklch(73.1% 0.156 294.5);
Tailwind
colors: {
  custom: {
    50: '#c9b2ff',
    500: '#af92ff',
    950: '#000000',
  },
}
SCSS
$custom: #af92ff;
$custom-light: #c9b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af92ff",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 255.963,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7308,
    "c": 0.15574,
    "h": 294.5
  },
  "luminance": 0.36892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF92FF

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

Preview Lab → · Contrast checker → · Palette generator →

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