#AB92EB#AB92EB

#AB92EB is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.7% C 0.129 H 295.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AB92EB
RGBrgb(171, 146, 235)
HSLhsl(257, 69%, 75%)
HSVhsv(257, 38%, 92%)
CMYKcmyk(27.2%, 37.9%, 0%, 7.8%)
CIE-LABlab(65.91, 27.96, -41.59)
CIE-LCHlch(65.91, 50.11, 303.91°)
OKLaboklab(71.72% 0.0563 -0.1159)
OKLCHoklch(71.72% 0.129 295.9)
XYZxyz(42.0653, 35.2134, 83.1618)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB92EB #D2EB92
analogous
#92A6EB #AB92EB #D892EB
triadic
#AB92EB #EBAB92 #92EBAB
tetradic
#AB92EB #EB92A6 #D2EB92 #92EBD8
square
#AB92EB #EB92A6 #D2EB92 #92EBD8
split-complementary
#AB92EB #EBD892 #A6EB92
monochromatic
#5B2BD8 #835EE2 #AB92EB #D3C6F4 #EBE5FA

Accessibility & contrast

On white

2.61
#AB92EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AB92EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB92EB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB92EB#FFFFFF#000000##000000
##AB92EB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#9EA1B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab92eb;
/* rgb */ color: rgb(171, 146, 235);
/* oklch */ color: oklch(71.7% 0.129 295.9);
Tailwind
colors: {
  custom: {
    50: '#c6b2f2',
    500: '#ab92eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab92eb;
$custom-light: #c6b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab92eb",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 256.854,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.1289,
    "h": 295.9
  },
  "luminance": 0.35214
}

Semantic roles & 50–950 ramp

primary
#AB92EB
secondary
#EBF2D9
accent
#D1159C
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131117
muted
#828085

Preview Lab

Preview with #AB92EB

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

Preview Lab → · Contrast checker → · Palette generator →

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