#AB7FF9#AB7FF9

#AB7FF9 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.176 H 298.3°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#AB7FF9
RGBrgb(171, 127, 249)
HSLhsl(262, 91%, 74%)
HSVhsv(262, 49%, 98%)
CMYKcmyk(31.3%, 49%, 0%, 2.4%)
CIE-LABlab(62.23, 42.04, -55.11)
CIE-LCHlch(62.23, 69.31, 307.34°)
OKLaboklab(69.17% 0.0837 -0.1553)
OKLCHoklch(69.17% 0.176 298.3)
XYZxyz(41.4787, 30.6758, 93.3399)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FF9 #CDF97F
analogous
#7F90F9 #AB7FF9 #E87FF9
triadic
#AB7FF9 #F9AB7F #7FF9AB
tetradic
#AB7FF9 #F97F90 #CDF97F #7FF9E8
square
#AB7FF9 #F97F90 #CDF97F #7FF9E8
split-complementary
#AB7FF9 #F9E87F #90F97F
monochromatic
#5F0BF2 #8545F6 #AB7FF9 #D1B9FC #ECE2FE

Accessibility & contrast

On white

2.94
#AB7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#AB7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB7FF9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FF9#FFFFFF#000000##000000
##AB7FF91.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#9B96B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab7ff9;
/* rgb */ color: rgb(171, 127, 249);
/* oklch */ color: oklch(69.2% 0.176 298.3);
Tailwind
colors: {
  custom: {
    50: '#c7a5fc',
    500: '#ab7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ff9;
$custom-light: #c7a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ff9",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 261.639,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.17637,
    "h": 298.3
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#AB7FF9
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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