#AB95F9#AB95F9

#AB95F9 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.0% C 0.143 H 292.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AB95F9
RGBrgb(171, 149, 249)
HSLhsl(253, 89%, 78%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.3%, 40.2%, 0%, 2.4%)
CIE-LABlab(67.27, 29.72, -47.13)
CIE-LCHlch(67.27, 55.72, 302.23°)
OKLaboklab(72.96% 0.055 -0.132)
OKLCHoklch(72.96% 0.143 292.6)
XYZxyz(44.6366, 36.9915, 94.3925)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95F9 #E3F995
analogous
#95B1F9 #AB95F9 #DD95F9
triadic
#AB95F9 #F9AB95 #95F9AB
tetradic
#AB95F9 #F995B1 #E3F995 #95F9DD
square
#AB95F9 #F995B1 #E3F995 #95F9DD
split-complementary
#AB95F9 #F9DD95 #B1F995
monochromatic
#4F21F2 #7D5BF6 #AB95F9 #D9CFFC #E8E2FD

Accessibility & contrast

On white

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

On black

8.40
#AB95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95F9
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95F9#FFFFFF#000000##000000
##AB95F91.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#99A7BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab95f9;
/* rgb */ color: rgb(171, 149, 249);
/* oklch */ color: oklch(73.0% 0.143 292.6);
Tailwind
colors: {
  custom: {
    50: '#c6b4fb',
    500: '#ab95f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab95f9;
$custom-light: #c6b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95f9",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 253.2,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72962,
    "c": 0.14302,
    "h": 292.6
  },
  "luminance": 0.36992
}

Semantic roles & 50–950 ramp

primary
#AB95F9
secondary
#EEF5D6
accent
#E600B3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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