#AB95FC#AB95FC

#AB95FC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.1% C 0.147 H 292.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AB95FC
RGBrgb(171, 149, 252)
HSLhsl(253, 94%, 79%)
HSVhsv(253, 41%, 99%)
CMYKcmyk(32.1%, 40.9%, 0%, 1.2%)
CIE-LABlab(67.41, 30.48, -48.55)
CIE-LCHlch(67.41, 57.32, 302.12°)
OKLaboklab(73.11% 0.0555 -0.1361)
OKLCHoklch(73.11% 0.147 292.2)
XYZxyz(45.1082, 37.1802, 96.8765)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95FC #E6FC95
analogous
#95B2FC #AB95FC #DF95FC
triadic
#AB95FC #FCAB95 #95FCAB
tetradic
#AB95FC #FC95B2 #E6FC95 #95FCDF
square
#AB95FC #FC95B2 #E6FC95 #95FCDF
split-complementary
#AB95FC #FCDF95 #B2FC95
monochromatic
#4D1EF9 #7C59FA #AB95FC #DAD1FE #E7E1FE

Accessibility & contrast

On white

2.49
#AB95FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AB95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95FC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95FC#FFFFFF#000000##000000
##AB95FC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#98A8BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab95fc;
/* rgb */ color: rgb(171, 149, 252);
/* oklch */ color: oklch(73.1% 0.147 292.2);
Tailwind
colors: {
  custom: {
    50: '#c6b4fe',
    500: '#ab95fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab95fc;
$custom-light: #c6b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95fc",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 252.816,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73115,
    "c": 0.14702,
    "h": 292.2
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#AB95FC
secondary
#EFF6D5
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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