#AB93FD#AB93FD

#AB93FD is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.8% C 0.151 H 292.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AB93FD
RGBrgb(171, 147, 253)
HSLhsl(254, 96%, 78%)
HSVhsv(254, 42%, 99%)
CMYKcmyk(32.4%, 41.9%, 0%, 0.8%)
CIE-LABlab(66.99, 31.86, -49.76)
CIE-LCHlch(66.99, 59.08, 302.63°)
OKLaboklab(72.81% 0.0583 -0.1397)
OKLCHoklch(72.81% 0.151 292.7)
XYZxyz(44.9534, 36.6163, 97.6087)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB93FD #E5FD93
analogous
#93B0FD #AB93FD #E093FD
triadic
#AB93FD #FDAB93 #93FDAB
tetradic
#AB93FD #FD93B0 #E5FD93 #93FDE0
square
#AB93FD #FD93B0 #E5FD93 #93FDE0
split-complementary
#AB93FD #FDE093 #B0FD93
monochromatic
#4E1BFB #7C57FC #AB93FD #DACFFE #E8E1FE

Accessibility & contrast

On white

2.52
#AB93FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AB93FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB93FD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB93FD#FFFFFF#000000##000000
##AB93FD1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#98A7BC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab93fd;
/* rgb */ color: rgb(171, 147, 253);
/* oklch */ color: oklch(72.8% 0.151 292.7);
Tailwind
colors: {
  custom: {
    50: '#c7b3fe',
    500: '#ab93fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab93fd;
$custom-light: #c7b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab93fd",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 253
  },
  "hsl": {
    "h": 253.585,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7281,
    "c": 0.15135,
    "h": 292.7
  },
  "luminance": 0.36617
}

Semantic roles & 50–950 ramp

primary
#AB93FD
secondary
#EFF7D4
accent
#E600B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB93FD

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

Preview Lab → · Contrast checker → · Palette generator →

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