#AB93F8#AB93F8

#AB93F8 is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.6% C 0.145 H 293.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AB93F8
RGBrgb(171, 147, 248)
HSLhsl(254, 88%, 77%)
HSVhsv(254, 41%, 97%)
CMYKcmyk(31%, 40.7%, 0%, 2.7%)
CIE-LABlab(66.75, 30.60, -47.41)
CIE-LCHlch(66.75, 56.42, 302.84°)
OKLaboklab(72.55% 0.0574 -0.1328)
OKLCHoklch(72.55% 0.145 293.4)
XYZxyz(44.1673, 36.3019, 93.4687)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB93F8 #E0F893
analogous
#93AEF8 #AB93F8 #DD93F8
triadic
#AB93F8 #F8AB93 #93F8AB
tetradic
#AB93F8 #F893AE #E0F893 #93F8DD
square
#AB93F8 #F893AE #E0F893 #93F8DD
split-complementary
#AB93F8 #F8DD93 #AEF893
monochromatic
#5220F1 #7E5AF4 #AB93F8 #D8CCFC #E9E2FD

Accessibility & contrast

On white

2.54
#AB93F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AB93F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB93F8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB93F8#FFFFFF#000000##000000
##AB93F81.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#78A1F5
Tritanopia (blue-blind)
#9AA5BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab93f8;
/* rgb */ color: rgb(171, 147, 248);
/* oklch */ color: oklch(72.6% 0.145 293.4);
Tailwind
colors: {
  custom: {
    50: '#c6b3fb',
    500: '#ab93f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab93f8;
$custom-light: #c6b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab93f8",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 248
  },
  "hsl": {
    "h": 254.257,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.14471,
    "h": 293.4
  },
  "luminance": 0.36303
}

Semantic roles & 50–950 ramp

primary
#AB93F8
secondary
#EEF5D6
accent
#E401AE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB93F8

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

Preview Lab → · Contrast checker → · Palette generator →

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