#AF92E5#AF92E5

#AF92E5 is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.8% C 0.121 H 299.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#AF92E5
RGBrgb(175, 146, 229)
HSLhsl(261, 61%, 74%)
HSVhsv(261, 36%, 90%)
CMYKcmyk(23.6%, 36.2%, 0%, 10.2%)
CIE-LABlab(66.00, 27.67, -38.11)
CIE-LCHlch(66.00, 47.10, 305.98°)
OKLaboklab(71.79% 0.0597 -0.1058)
OKLCHoklch(71.79% 0.122 299.4)
XYZxyz(42.0978, 35.3287, 78.7148)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92E5 #C8E592
analogous
#929EE5 #AF92E5 #D892E5
triadic
#AF92E5 #E5AF92 #92E5AF
tetradic
#AF92E5 #E5929E #C8E592 #92E5D8
square
#AF92E5 #E5929E #C8E592 #92E5D8
split-complementary
#AF92E5 #E5D892 #9EE592
monochromatic
#6731CC #8B61D9 #AF92E5 #D3C3F1 #EDE6F9

Accessibility & contrast

On white

2.60
#AF92E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#AF92E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92E5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92E5#FFFFFF#000000##000000
##AF92E51.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E8
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#A5A0B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af92e5;
/* rgb */ color: rgb(175, 146, 229);
/* oklch */ color: oklch(71.8% 0.121 299.4);
Tailwind
colors: {
  custom: {
    50: '#c8b2ed',
    500: '#af92e5',
    950: '#000000',
  },
}
SCSS
$custom: #af92e5;
$custom-light: #c8b2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af92e5",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 229
  },
  "hsl": {
    "h": 260.964,
    "s": 61.481,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71787,
    "c": 0.1215,
    "h": 299.4
  },
  "luminance": 0.35329
}

Semantic roles & 50–950 ramp

primary
#AF92E5
secondary
#E9F0DB
accent
#C91C8D
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131116
muted
#828084

Preview Lab

Preview with #AF92E5

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

Preview Lab → · Contrast checker → · Palette generator →

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