#AB95F7#AB95F7

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

Color values

HEX#AB95F7
RGBrgb(171, 149, 247)
HSLhsl(253, 86%, 78%)
HSVhsv(253, 40%, 97%)
CMYKcmyk(30.8%, 39.7%, 0%, 3.1%)
CIE-LABlab(67.18, 29.22, -46.19)
CIE-LCHlch(67.18, 54.65, 302.32°)
OKLaboklab(72.86% 0.0546 -0.1293)
OKLCHoklch(72.86% 0.14 292.9)
XYZxyz(44.3263, 36.8674, 92.7584)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95F7 #E1F795
analogous
#95B0F7 #AB95F7 #DC95F7
triadic
#AB95F7 #F7AB95 #95F7AB
tetradic
#AB95F7 #F795B0 #E1F795 #95F7DC
square
#AB95F7 #F795B0 #E1F795 #95F7DC
split-complementary
#AB95F7 #F7DC95 #B0F795
monochromatic
#5123EE #7E5CF3 #AB95F7 #D8CEFB #E8E3FD

Accessibility & contrast

On white

2.51
#AB95F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AB95F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95F7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95F7#FFFFFF#000000##000000
##AB95F71.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#9AA7BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab95f7;
/* rgb */ color: rgb(171, 149, 247);
/* oklch */ color: oklch(72.9% 0.140 292.9);
Tailwind
colors: {
  custom: {
    50: '#c6b4fa',
    500: '#ab95f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab95f7;
$custom-light: #c6b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95f7",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 247
  },
  "hsl": {
    "h": 253.469,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.14034,
    "h": 292.9
  },
  "luminance": 0.36868
}

Semantic roles & 50–950 ramp

primary
#AB95F7
secondary
#EEF5D6
accent
#E203B0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB95F7

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

Preview Lab → · Contrast checker → · Palette generator →

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