#AB95EE#AB95EE

#AB95EE is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.4% C 0.128 H 294.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AB95EE
RGBrgb(171, 149, 238)
HSLhsl(255, 72%, 76%)
HSVhsv(255, 37%, 93%)
CMYKcmyk(28.2%, 37.4%, 0%, 6.7%)
CIE-LABlab(66.77, 26.99, -41.90)
CIE-LCHlch(66.77, 49.84, 302.79°)
OKLaboklab(72.41% 0.0529 -0.1169)
OKLCHoklch(72.41% 0.128 294.3)
XYZxyz(42.9709, 36.3253, 85.6199)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95EE #D8EE95
analogous
#95ABEE #AB95EE #D795EE
triadic
#AB95EE #EEAB95 #95EEAB
tetradic
#AB95EE #EE95AB #D8EE95 #95EED7
square
#AB95EE #EE95AB #D8EE95 #95EED7
split-complementary
#AB95EE #EED795 #ABEE95
monochromatic
#572CDD #8160E6 #AB95EE #D5CAF6 #EAE5FB

Accessibility & contrast

On white

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

On black

8.27
#AB95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95EE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95EE#FFFFFF#000000##000000
##AB95EE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#9DA5B6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab95ee;
/* rgb */ color: rgb(171, 149, 238);
/* oklch */ color: oklch(72.4% 0.128 294.3);
Tailwind
colors: {
  custom: {
    50: '#c6b4f4',
    500: '#ab95ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab95ee;
$custom-light: #c6b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95ee",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 254.831,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.12826,
    "h": 294.3
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#AB95EE
secondary
#ECF2D9
accent
#D411A4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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