#AB92FC#AB92FC

#AB92FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.6% C 0.152 H 293.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AB92FC
RGBrgb(171, 146, 252)
HSLhsl(254, 95%, 78%)
HSVhsv(254, 42%, 99%)
CMYKcmyk(32.1%, 42.1%, 0%, 1.2%)
CIE-LABlab(66.71, 32.17, -49.66)
CIE-LCHlch(66.71, 59.17, 302.93°)
OKLaboklab(72.58% 0.0594 -0.1394)
OKLCHoklch(72.58% 0.152 293.1)
XYZxyz(44.6397, 36.2431, 96.7203)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB92FC #E3FC92
analogous
#92AEFC #AB92FC #E092FC
triadic
#AB92FC #FCAB92 #92FCAB
tetradic
#AB92FC #FC92AE #E3FC92 #92FCE0
square
#AB92FC #FC92AE #E3FC92 #92FCE0
split-complementary
#AB92FC #FCE092 #AEFC92
monochromatic
#4F1BF9 #7D56FA #AB92FC #D9CEFE #E8E1FE

Accessibility & contrast

On white

2.55
#AB92FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AB92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB92FC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB92FC#FFFFFF#000000##000000
##AB92FC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#98A6BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab92fc;
/* rgb */ color: rgb(171, 146, 252);
/* oklch */ color: oklch(72.6% 0.152 293.1);
Tailwind
colors: {
  custom: {
    50: '#c7b2fe',
    500: '#ab92fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab92fc;
$custom-light: #c7b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab92fc",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 254.151,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7258,
    "c": 0.15152,
    "h": 293.1
  },
  "luminance": 0.36244
}

Semantic roles & 50–950 ramp

primary
#AB92FC
secondary
#EEF6D5
accent
#E600AF
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131118
muted
#828086

Preview Lab

Preview with #AB92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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