#AB95EB#AB95EB

#AB95EB is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.3% C 0.124 H 294.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AB95EB
RGBrgb(171, 149, 235)
HSLhsl(255, 68%, 75%)
HSVhsv(255, 37%, 92%)
CMYKcmyk(27.2%, 36.6%, 0%, 7.8%)
CIE-LABlab(66.63, 26.26, -40.46)
CIE-LCHlch(66.63, 48.23, 302.99°)
OKLaboklab(72.27% 0.0522 -0.1127)
OKLCHoklch(72.27% 0.124 294.9)
XYZxyz(42.5338, 36.1504, 83.3180)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95EB #D5EB95
analogous
#95AAEB #AB95EB #D695EB
triadic
#AB95EB #EBAB95 #95EBAB
tetradic
#AB95EB #EB95AA #D5EB95 #95EBD6
square
#AB95EB #EB95AA #D5EB95 #95EBD6
split-complementary
#AB95EB #EBD695 #AAEB95
monochromatic
#592ED8 #8262E1 #AB95EB #D4C8F5 #EBE5FA

Accessibility & contrast

On white

2.55
#AB95EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AB95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95EB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95EB#FFFFFF#000000##000000
##AB95EB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab95eb;
/* rgb */ color: rgb(171, 149, 235);
/* oklch */ color: oklch(72.3% 0.124 294.9);
Tailwind
colors: {
  custom: {
    50: '#c6b4f2',
    500: '#ab95eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab95eb;
$custom-light: #c6b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95eb",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 255.349,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72269,
    "c": 0.1242,
    "h": 294.9
  },
  "luminance": 0.36151
}

Semantic roles & 50–950 ramp

primary
#AB95EB
secondary
#EBF2D9
accent
#D015A0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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