#AB94EA#AB94EA

#AB94EA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.0% C 0.124 H 295.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AB94EA
RGBrgb(171, 148, 234)
HSLhsl(256, 67%, 75%)
HSVhsv(256, 37%, 92%)
CMYKcmyk(26.9%, 36.8%, 0%, 8.2%)
CIE-LABlab(66.35, 26.58, -40.35)
CIE-LCHlch(66.35, 48.32, 303.37°)
OKLaboklab(72.04% 0.0534 -0.1124)
OKLCHoklch(72.04% 0.124 295.4)
XYZxyz(42.2322, 35.7777, 82.5068)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94EA #D3EA94
analogous
#94A8EA #AB94EA #D694EA
triadic
#AB94EA #EAAB94 #94EAAB
tetradic
#AB94EA #EA94A8 #D3EA94 #94EAD6
square
#AB94EA #EA94A8 #D3EA94 #94EAD6
split-complementary
#AB94EA #EAD694 #A8EA94
monochromatic
#5B2ED6 #8361E0 #AB94EA #D3C7F4 #EBE5FA

Accessibility & contrast

On white

2.57
#AB94EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AB94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94EA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94EA#FFFFFF#000000##000000
##AB94EA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#9EA3B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab94ea;
/* rgb */ color: rgb(171, 148, 234);
/* oklch */ color: oklch(72.0% 0.124 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5b3f1',
    500: '#ab94ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab94ea;
$custom-light: #c5b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94ea",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 256.047,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72038,
    "c": 0.12442,
    "h": 295.4
  },
  "luminance": 0.35778
}

Semantic roles & 50–950 ramp

primary
#AB94EA
secondary
#EBF1DA
accent
#CF169E
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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