#AB96EA#AB96EA

#AB96EA is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.4% C 0.121 H 294.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AB96EA
RGBrgb(171, 150, 234)
HSLhsl(255, 67%, 75%)
HSVhsv(255, 36%, 92%)
CMYKcmyk(26.9%, 35.9%, 0%, 8.2%)
CIE-LABlab(66.83, 25.45, -39.60)
CIE-LCHlch(66.83, 47.07, 302.73°)
OKLaboklab(72.41% 0.0506 -0.1102)
OKLCHoklch(72.41% 0.121 294.7)
XYZxyz(42.5486, 36.4106, 82.6122)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB96EA #D5EA96
analogous
#96ABEA #AB96EA #D596EA
triadic
#AB96EA #EAAB96 #96EAAB
tetradic
#AB96EA #EA96AB #D5EA96 #96EAD5
square
#AB96EA #EA96AB #D5EA96 #96EAD5
split-complementary
#AB96EA #EAD596 #ABEA96
monochromatic
#5930D6 #8263E0 #AB96EA #D4C9F4 #EBE5FA

Accessibility & contrast

On white

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

On black

8.28
#AB96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB96EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB96EA#FFFFFF#000000##000000
##AB96EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A3ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#9EA4B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab96ea;
/* rgb */ color: rgb(171, 150, 234);
/* oklch */ color: oklch(72.4% 0.121 294.7);
Tailwind
colors: {
  custom: {
    50: '#c5b5f1',
    500: '#ab96ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab96ea;
$custom-light: #c5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab96ea",
  "rgb": {
    "r": 171,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72406,
    "c": 0.12129,
    "h": 294.7
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#AB96EA
secondary
#EBF1DA
accent
#CF17A1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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