#AB94FE#AB94FE

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

Color values

HEX#AB94FE
RGBrgb(171, 148, 254)
HSLhsl(253, 98%, 79%)
HSVhsv(253, 42%, 100%)
CMYKcmyk(32.7%, 41.7%, 0%, 0.4%)
CIE-LABlab(67.27, 31.54, -49.86)
CIE-LCHlch(67.27, 59.00, 302.32°)
OKLaboklab(73.04% 0.0572 -0.14)
OKLCHoklch(73.04% 0.151 292.2)
XYZxyz(45.2693, 36.9926, 98.5019)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94FE #E7FE94
analogous
#94B2FE #AB94FE #E094FE
triadic
#AB94FE #FEAB94 #94FEAB
tetradic
#AB94FE #FE94B2 #E7FE94 #94FEE0
square
#AB94FE #FE94B2 #E7FE94 #94FEE0
split-complementary
#AB94FE #FEE094 #B2FE94
monochromatic
#4C1BFD #7B57FD #AB94FE #DBD1FF #E7E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB94FE#FFFFFF#000000##000000
##AB94FE1.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)
#73A5FF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#97A8BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab94fe;
/* rgb */ color: rgb(171, 148, 254);
/* oklch */ color: oklch(73.0% 0.151 292.2);
Tailwind
colors: {
  custom: {
    50: '#c7b3ff',
    500: '#ab94fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab94fe;
$custom-light: #c7b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94fe",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 253.019,
    "s": 98.148,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.15118,
    "h": 292.2
  },
  "luminance": 0.36993
}

Semantic roles & 50–950 ramp

primary
#AB94FE
secondary
#EFF7D4
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AB94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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