#AB95EF#AB95EF

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

Color values

HEX#AB95EF
RGBrgb(171, 149, 239)
HSLhsl(255, 74%, 76%)
HSVhsv(255, 38%, 94%)
CMYKcmyk(28.5%, 37.7%, 0%, 6.3%)
CIE-LABlab(66.81, 27.24, -42.38)
CIE-LCHlch(66.81, 50.38, 302.73°)
OKLaboklab(72.46% 0.0531 -0.1182)
OKLCHoklch(72.46% 0.13 294.2)
XYZxyz(43.1182, 36.3842, 86.3958)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95EF #D9EF95
analogous
#95ACEF #AB95EF #D895EF
triadic
#AB95EF #EFAB95 #95EFAB
tetradic
#AB95EF #EF95AC #D9EF95 #95EFD8
square
#AB95EF #EF95AC #D9EF95 #95EFD8
split-complementary
#AB95EF #EFD895 #ACEF95
monochromatic
#572BDF #8160E7 #AB95EF #D5CAF7 #EAE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB95EF#FFFFFF#000000##000000
##AB95EF1.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)
#7CA3F2
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#9CA5B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab95ef;
/* rgb */ color: rgb(171, 149, 239);
/* oklch */ color: oklch(72.5% 0.130 294.2);
Tailwind
colors: {
  custom: {
    50: '#c6b4f4',
    500: '#ab95ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab95ef;
$custom-light: #c6b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95ef",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 254.667,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.1296,
    "h": 294.2
  },
  "luminance": 0.36385
}

Semantic roles & 50–950 ramp

primary
#AB95EF
secondary
#ECF3D8
accent
#D610A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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