#AB93FC#AB93FC

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

Color values

HEX#AB93FC
RGBrgb(171, 147, 252)
HSLhsl(254, 95%, 78%)
HSVhsv(254, 42%, 99%)
CMYKcmyk(32.1%, 41.7%, 0%, 1.2%)
CIE-LABlab(66.94, 31.60, -49.29)
CIE-LCHlch(66.94, 58.55, 302.67°)
OKLaboklab(72.76% 0.0581 -0.1383)
OKLCHoklch(72.76% 0.15 292.8)
XYZxyz(44.7945, 36.5528, 96.7719)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB93FC #E4FC93
analogous
#93AFFC #AB93FC #DF93FC
triadic
#AB93FC #FCAB93 #93FCAB
tetradic
#AB93FC #FC93AF #E4FC93 #93FCDF
square
#AB93FC #FC93AF #E4FC93 #93FCDF
split-complementary
#AB93FC #FCDF93 #AFFC93
monochromatic
#4E1CF9 #7D57FA #AB93FC #D9CFFE #E8E1FE

Accessibility & contrast

On white

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

On black

8.31
#AB93FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB93FC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB93FC#FFFFFF#000000##000000
##AB93FC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab93fc;
/* rgb */ color: rgb(171, 147, 252);
/* oklch */ color: oklch(72.8% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#c7b3fe',
    500: '#ab93fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab93fc;
$custom-light: #c7b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab93fc",
  "rgb": {
    "r": 171,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 253.714,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72757,
    "c": 0.15002,
    "h": 292.8
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#AB93FC
secondary
#EFF6D5
accent
#E600B1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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