#AB95F8#AB95F8

#AB95F8 is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.9% C 0.142 H 292.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AB95F8
RGBrgb(171, 149, 248)
HSLhsl(253, 88%, 78%)
HSVhsv(253, 40%, 97%)
CMYKcmyk(31%, 39.9%, 0%, 2.7%)
CIE-LABlab(67.22, 29.47, -46.66)
CIE-LCHlch(67.22, 55.19, 302.28°)
OKLaboklab(72.91% 0.0548 -0.1306)
OKLCHoklch(72.91% 0.142 292.8)
XYZxyz(44.4810, 36.9293, 93.5733)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95F8 #E2F895
analogous
#95B0F8 #AB95F8 #DC95F8
triadic
#AB95F8 #F8AB95 #95F8AB
tetradic
#AB95F8 #F895B0 #E2F895 #95F8DC
square
#AB95F8 #F895B0 #E2F895 #95F8DC
split-complementary
#AB95F8 #F8DC95 #B0F895
monochromatic
#5022F0 #7E5CF4 #AB95F8 #D8CEFC #E8E2FD

Accessibility & contrast

On white

2.50
#AB95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AB95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95F8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95F8#FFFFFF#000000##000000
##AB95F81.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#99A7BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab95f8;
/* rgb */ color: rgb(171, 149, 248);
/* oklch */ color: oklch(72.9% 0.142 292.8);
Tailwind
colors: {
  custom: {
    50: '#c6b4fb',
    500: '#ab95f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab95f8;
$custom-light: #c6b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95f8",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 253.333,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.14168,
    "h": 292.8
  },
  "luminance": 0.3693
}

Semantic roles & 50–950 ramp

primary
#AB95F8
secondary
#EEF5D6
accent
#E401B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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