#AB94FA#AB94FA

#AB94FA is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.8% C 0.146 H 292.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AB94FA
RGBrgb(171, 148, 250)
HSLhsl(254, 91%, 78%)
HSVhsv(254, 41%, 98%)
CMYKcmyk(31.6%, 40.8%, 0%, 2%)
CIE-LABlab(67.08, 30.54, -47.98)
CIE-LCHlch(67.08, 56.87, 302.48°)
OKLaboklab(72.83% 0.0565 -0.1345)
OKLCHoklch(72.83% 0.146 292.8)
XYZxyz(44.6354, 36.7390, 95.1636)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94FA #E3FA94
analogous
#94B0FA #AB94FA #DE94FA
triadic
#AB94FA #FAAB94 #94FAAB
tetradic
#AB94FA #FA94B0 #E3FA94 #94FADE
square
#AB94FA #FA94B0 #E3FA94 #94FADE
split-complementary
#AB94FA #FADE94 #B0FA94
monochromatic
#4F1FF5 #7D5AF7 #AB94FA #D9CEFD #E8E2FE

Accessibility & contrast

On white

2.52
#AB94FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AB94FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94FA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94FA#FFFFFF#000000##000000
##AB94FA1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#99A7BB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab94fa;
/* rgb */ color: rgb(171, 148, 250);
/* oklch */ color: oklch(72.8% 0.146 292.8);
Tailwind
colors: {
  custom: {
    50: '#c6b3fc',
    500: '#ab94fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab94fa;
$custom-light: #c6b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94fa",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 253.529,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72833,
    "c": 0.14586,
    "h": 292.8
  },
  "luminance": 0.3674
}

Semantic roles & 50–950 ramp

primary
#AB94FA
secondary
#EEF6D5
accent
#E600B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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