#AB95FA#AB95FA

#AB95FA is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.0% C 0.144 H 292.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AB95FA
RGBrgb(171, 149, 250)
HSLhsl(253, 91%, 78%)
HSVhsv(253, 40%, 98%)
CMYKcmyk(31.6%, 40.4%, 0%, 2%)
CIE-LABlab(67.32, 29.97, -47.60)
CIE-LCHlch(67.32, 56.25, 302.19°)
OKLaboklab(73.01% 0.0552 -0.1334)
OKLCHoklch(73.01% 0.144 292.5)
XYZxyz(44.7930, 37.0541, 95.2161)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95FA #E4FA95
analogous
#95B1FA #AB95FA #DD95FA
triadic
#AB95FA #FAAB95 #95FAAB
tetradic
#AB95FA #FA95B1 #E4FA95 #95FADD
square
#AB95FA #FA95B1 #E4FA95 #95FADD
split-complementary
#AB95FA #FADD95 #B1FA95
monochromatic
#4E20F4 #7D5BF7 #AB95FA #D9CFFD #E8E2FE

Accessibility & contrast

On white

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

On black

8.41
#AB95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95FA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95FA#FFFFFF#000000##000000
##AB95FA1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#99A7BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab95fa;
/* rgb */ color: rgb(171, 149, 250);
/* oklch */ color: oklch(73.0% 0.144 292.5);
Tailwind
colors: {
  custom: {
    50: '#c6b4fc',
    500: '#ab95fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab95fa;
$custom-light: #c6b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95fa",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 253.069,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.14435,
    "h": 292.5
  },
  "luminance": 0.37055
}

Semantic roles & 50–950 ramp

primary
#AB95FA
secondary
#EFF6D5
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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