#AB95FE#AB95FE

#AB95FE is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.2% C 0.150 H 291.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AB95FE
RGBrgb(171, 149, 254)
HSLhsl(253, 98%, 79%)
HSVhsv(253, 41%, 100%)
CMYKcmyk(32.7%, 41.3%, 0%, 0.4%)
CIE-LABlab(67.51, 30.98, -49.49)
CIE-LCHlch(67.51, 58.38, 302.05°)
OKLaboklab(73.22% 0.0559 -0.1389)
OKLCHoklch(73.22% 0.15 291.9)
XYZxyz(45.4268, 37.3076, 98.5544)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95FE #E8FE95
analogous
#95B4FE #AB95FE #DF95FE
triadic
#AB95FE #FEAB95 #95FEAB
tetradic
#AB95FE #FE95B4 #E8FE95 #95FEDF
square
#AB95FE #FE95B4 #E8FE95 #95FEDF
split-complementary
#AB95FE #FEDF95 #B4FE95
monochromatic
#4B1CFD #7B58FD #AB95FE #DBD2FF #E7E1FF

Accessibility & contrast

On white

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

On black

8.46
#AB95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95FE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95FE#FFFFFF#000000##000000
##AB95FE1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab95fe;
/* rgb */ color: rgb(171, 149, 254);
/* oklch */ color: oklch(73.2% 0.150 291.9);
Tailwind
colors: {
  custom: {
    50: '#c7b4ff',
    500: '#ab95fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab95fe;
$custom-light: #c7b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95fe",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 252.571,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73218,
    "c": 0.14968,
    "h": 291.9
  },
  "luminance": 0.37309
}

Semantic roles & 50–950 ramp

primary
#AB95FE
secondary
#F0F7D4
accent
#E600B5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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