#AB95EA#AB95EA

#AB95EA is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.2% C 0.123 H 295.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AB95EA
RGBrgb(171, 149, 234)
HSLhsl(256, 67%, 75%)
HSVhsv(256, 36%, 92%)
CMYKcmyk(26.9%, 36.3%, 0%, 8.2%)
CIE-LABlab(66.59, 26.02, -39.98)
CIE-LCHlch(66.59, 47.70, 303.06°)
OKLaboklab(72.22% 0.052 -0.1113)
OKLCHoklch(72.22% 0.123 295)
XYZxyz(42.3898, 36.0928, 82.5593)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95EA #D4EA95
analogous
#95AAEA #AB95EA #D595EA
triadic
#AB95EA #EAAB95 #95EAAB
tetradic
#AB95EA #EA95AA #D4EA95 #95EAD5
square
#AB95EA #EA95AA #D4EA95 #95EAD5
split-complementary
#AB95EA #EAD595 #AAEA95
monochromatic
#5A2FD6 #8362E0 #AB95EA #D3C8F4 #EBE5FA

Accessibility & contrast

On white

2.56
#AB95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AB95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95EA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95EA#FFFFFF#000000##000000
##AB95EA1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3ED
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#9EA4B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab95ea;
/* rgb */ color: rgb(171, 149, 234);
/* oklch */ color: oklch(72.2% 0.123 295.0);
Tailwind
colors: {
  custom: {
    50: '#c5b4f1',
    500: '#ab95ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab95ea;
$custom-light: #c5b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95ea",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 255.529,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.12285,
    "h": 295
  },
  "luminance": 0.36093
}

Semantic roles & 50–950 ramp

primary
#AB95EA
secondary
#EBF1DA
accent
#CF179F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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