#AF92EE#AF92EE

#AF92EE is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.2% C 0.133 H 297.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AF92EE
RGBrgb(175, 146, 238)
HSLhsl(259, 73%, 75%)
HSVhsv(259, 39%, 93%)
CMYKcmyk(26.5%, 38.7%, 0%, 6.7%)
CIE-LABlab(66.40, 29.81, -42.45)
CIE-LCHlch(66.40, 51.87, 305.08°)
OKLaboklab(72.22% 0.0615 -0.1184)
OKLCHoklch(72.22% 0.133 297.5)
XYZxyz(43.3871, 35.8444, 85.5052)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92EE #D1EE92
analogous
#92A3EE #AF92EE #DD92EE
triadic
#AF92EE #EEAF92 #92EEAF
tetradic
#AF92EE #EE92A3 #D1EE92 #92EEDD
square
#AF92EE #EE92A3 #D1EE92 #92EEDD
split-complementary
#AF92EE #EEDD92 #A3EE92
monochromatic
#6128DD #885DE6 #AF92EE #D6C7F6 #ECE5FB

Accessibility & contrast

On white

2.57
#AF92EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#AF92EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92EE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92EE#FFFFFF#000000##000000
##AF92EE1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F2
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#A2A2B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af92ee;
/* rgb */ color: rgb(175, 146, 238);
/* oklch */ color: oklch(72.2% 0.133 297.5);
Tailwind
colors: {
  custom: {
    50: '#c8b2f4',
    500: '#af92ee',
    950: '#000000',
  },
}
SCSS
$custom: #af92ee;
$custom-light: #c8b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af92ee",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 258.913,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72219,
    "c": 0.1334,
    "h": 297.5
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#AF92EE
secondary
#EAF3D8
accent
#D51097
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #AF92EE

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

Preview Lab → · Contrast checker → · Palette generator →

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