#AB93FA#AB93FA

#AB93FA is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.7% C 0.147 H 293.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AB93FA
RGBrgb(171, 147, 250)
HSLhsl(254, 91%, 78%)
HSVhsv(254, 41%, 98%)
CMYKcmyk(31.6%, 41.2%, 0%, 2%)
CIE-LABlab(66.84, 31.10, -48.35)
CIE-LCHlch(66.84, 57.49, 302.75°)
OKLaboklab(72.65% 0.0578 -0.1356)
OKLCHoklch(72.65% 0.147 293.1)
XYZxyz(44.4792, 36.4267, 95.1116)
Luminance0.3643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB93FA #E2FA93
analogous
#93AEFA #AB93FA #DF93FA
triadic
#AB93FA #FAAB93 #93FAAB
tetradic
#AB93FA #FA93AE #E2FA93 #93FADF
square
#AB93FA #FA93AE #E2FA93 #93FADF
split-complementary
#AB93FA #FADF93 #AEFA93
monochromatic
#501EF5 #7E59F7 #AB93FA #D8CDFD #E8E2FE

Accessibility & contrast

On white

2.53
#AB93FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AB93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB93FA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB93FA#FFFFFF#000000##000000
##AB93FA1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#76A1F7
Tritanopia (blue-blind)
#99A6BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab93fa;
/* rgb */ color: rgb(171, 147, 250);
/* oklch */ color: oklch(72.7% 0.147 293.1);
Tailwind
colors: {
  custom: {
    50: '#c6b3fc',
    500: '#ab93fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab93fa;
$custom-light: #c6b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab93fa",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 253.981,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72654,
    "c": 0.14736,
    "h": 293.1
  },
  "luminance": 0.36427
}

Semantic roles & 50–950 ramp

primary
#AB93FA
secondary
#EEF6D5
accent
#E600B0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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