#AF92EA#AF92EA

#AF92EA is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.0% C 0.128 H 298.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AF92EA
RGBrgb(175, 146, 234)
HSLhsl(260, 68%, 75%)
HSVhsv(260, 38%, 92%)
CMYKcmyk(25.2%, 37.6%, 0%, 8.2%)
CIE-LABlab(66.22, 28.85, -40.53)
CIE-LCHlch(66.22, 49.75, 305.45°)
OKLaboklab(72.02% 0.0607 -0.1128)
OKLCHoklch(72.02% 0.128 298.3)
XYZxyz(42.8060, 35.6119, 82.4446)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92EA #CDEA92
analogous
#92A1EA #AF92EA #DB92EA
triadic
#AF92EA #EAAF92 #92EAAF
tetradic
#AF92EA #EA92A1 #CDEA92 #92EADB
square
#AF92EA #EA92A1 #CDEA92 #92EADB
split-complementary
#AF92EA #EADB92 #A1EA92
monochromatic
#642BD6 #895FE0 #AF92EA #D5C5F4 #ECE5FA

Accessibility & contrast

On white

2.59
#AF92EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AF92EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92EA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92EA#FFFFFF#000000##000000
##AF92EA1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#A4A1B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af92ea;
/* rgb */ color: rgb(175, 146, 234);
/* oklch */ color: oklch(72.0% 0.128 298.3);
Tailwind
colors: {
  custom: {
    50: '#c8b2f1',
    500: '#af92ea',
    950: '#000000',
  },
}
SCSS
$custom: #af92ea;
$custom-light: #c8b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af92ea",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 259.773,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72025,
    "c": 0.12812,
    "h": 298.3
  },
  "luminance": 0.35612
}

Semantic roles & 50–950 ramp

primary
#AF92EA
secondary
#EAF2D9
accent
#D01692
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #AF92EA

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

Preview Lab → · Contrast checker → · Palette generator →

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