#AB95FF#AB95FF

#AB95FF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.3% C 0.151 H 291.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AB95FF
RGBrgb(171, 149, 255)
HSLhsl(252, 100%, 79%)
HSVhsv(252, 42%, 100%)
CMYKcmyk(32.9%, 41.6%, 0%, 0%)
CIE-LABlab(67.56, 31.23, -49.96)
CIE-LCHlch(67.56, 58.92, 302.02°)
OKLaboklab(73.27% 0.056 -0.1402)
OKLCHoklch(73.27% 0.151 291.8)
XYZxyz(45.5874, 37.3719, 99.4000)
Luminance0.3737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95FF #E9FF95
analogous
#95B4FF #AB95FF #E095FF
triadic
#AB95FF #FFAB95 #95FFAB
tetradic
#AB95FF #FF95B4 #E9FF95 #95FFE0
square
#AB95FF #FF95B4 #E9FF95 #95FFE0
split-complementary
#AB95FF #FFE095 #B4FF95
monochromatic
#4A1BFF #7B58FF #AB95FF #DBD2FF #E7E0FF

Accessibility & contrast

On white

2.48
#AB95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AB95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95FF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95FF#FFFFFF#000000##000000
##AB95FF1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#97A9BE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab95ff;
/* rgb */ color: rgb(171, 149, 255);
/* oklch */ color: oklch(73.3% 0.151 291.8);
Tailwind
colors: {
  custom: {
    50: '#c7b4ff',
    500: '#ab95ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab95ff;
$custom-light: #c7b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95ff",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 252.453,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7327,
    "c": 0.15101,
    "h": 291.8
  },
  "luminance": 0.37373
}

Semantic roles & 50–950 ramp

primary
#AB95FF
secondary
#F0F7D4
accent
#E600B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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