#AB94EB#AB94EB

#AB94EB is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.1% C 0.126 H 295.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AB94EB
RGBrgb(171, 148, 235)
HSLhsl(256, 69%, 75%)
HSVhsv(256, 37%, 92%)
CMYKcmyk(27.2%, 37%, 0%, 7.8%)
CIE-LABlab(66.39, 26.83, -40.84)
CIE-LCHlch(66.39, 48.86, 303.30°)
OKLaboklab(72.09% 0.0536 -0.1138)
OKLCHoklch(72.09% 0.126 295.2)
XYZxyz(42.3763, 35.8354, 83.2655)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94EB #D4EB94
analogous
#94A8EB #AB94EB #D694EB
triadic
#AB94EB #EBAB94 #94EBAB
tetradic
#AB94EB #EB94A8 #D4EB94 #94EBD6
square
#AB94EB #EB94A8 #D4EB94 #94EBD6
split-complementary
#AB94EB #EBD694 #A8EB94
monochromatic
#5A2DD8 #8360E1 #AB94EB #D3C8F5 #EBE5FA

Accessibility & contrast

On white

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

On black

8.17
#AB94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94EB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94EB#FFFFFF#000000##000000
##AB94EB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab94eb;
/* rgb */ color: rgb(171, 148, 235);
/* oklch */ color: oklch(72.1% 0.126 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6b3f2',
    500: '#ab94eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab94eb;
$custom-light: #c6b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94eb",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 255.862,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.12577,
    "h": 295.2
  },
  "luminance": 0.35836
}

Semantic roles & 50–950 ramp

primary
#AB94EB
secondary
#EBF2D9
accent
#D0159F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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