#AB9AFA#AB9AFA

#AB9AFA is a light, vivid violet. Relative luminance 0.387; OKLCH L 73.9% C 0.137 H 290.8°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AB9AFA
RGBrgb(171, 154, 250)
HSLhsl(251, 91%, 79%)
HSVhsv(251, 38%, 98%)
CMYKcmyk(31.6%, 38.4%, 0%, 2%)
CIE-LABlab(68.51, 27.15, -45.73)
CIE-LCHlch(68.51, 53.18, 300.70°)
OKLaboklab(73.92% 0.0486 -0.1279)
OKLCHoklch(73.92% 0.137 290.8)
XYZxyz(45.6011, 38.6703, 95.4855)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9AFA #E9FA9A
analogous
#9AB9FA #AB9AFA #DB9AFA
triadic
#AB9AFA #FAAB9A #9AFAAB
tetradic
#AB9AFA #FA9AB9 #E9FA9A #9AFADB
square
#AB9AFA #FA9AB9 #E9FA9A #9AFADB
split-complementary
#AB9AFA #FADB9A #B9FA9A
monochromatic
#4A25F4 #7B60F7 #AB9AFA #DBD4FD #E7E2FE

Accessibility & contrast

On white

2.40
#AB9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AB9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9AFA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9AFA#FFFFFF#000000##000000
##AB9AFA1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#98ACBE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9afa;
/* rgb */ color: rgb(171, 154, 250);
/* oklch */ color: oklch(73.9% 0.137 290.8);
Tailwind
colors: {
  custom: {
    50: '#c6b8fc',
    500: '#ab9afa',
    950: '#000000',
  },
}
SCSS
$custom: #ab9afa;
$custom-light: #c6b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9afa",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 250.625,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.13686,
    "h": 290.8
  },
  "luminance": 0.38671
}

Semantic roles & 50–950 ramp

primary
#AB9AFA
secondary
#F0F6D5
accent
#E600BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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