#AB7FED#AB7FED

#AB7FED is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.161 H 300.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#AB7FED
RGBrgb(171, 127, 237)
HSLhsl(264, 75%, 71%)
HSVhsv(264, 46%, 93%)
CMYKcmyk(27.8%, 46.4%, 0%, 7.1%)
CIE-LABlab(61.61, 39.12, -49.47)
CIE-LCHlch(61.61, 63.06, 308.34°)
OKLaboklab(68.5% 0.0824 -0.1388)
OKLCHoklch(68.5% 0.161 300.7)
XYZxyz(39.6665, 29.9509, 83.7957)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FED #C1ED7F
analogous
#7F8AED #AB7FED #E27FED
triadic
#AB7FED #EDAB7F #7FEDAB
tetradic
#AB7FED #ED7F8A #C1ED7F #7FEDE2
square
#AB7FED #ED7F8A #C1ED7F #7FEDE2
split-complementary
#AB7FED #EDE27F #8AED7F
monochromatic
#671ED4 #8849E5 #AB7FED #CEB5F5 #EDE4FB

Accessibility & contrast

On white

3.00
#AB7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AB7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FED
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FED#FFFFFF#000000##000000
##AB7FED1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#6894EA
Tritanopia (blue-blind)
#9E93AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab7fed;
/* rgb */ color: rgb(171, 127, 237);
/* oklch */ color: oklch(68.5% 0.161 300.7);
Tailwind
colors: {
  custom: {
    50: '#c6a5f3',
    500: '#ab7fed',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fed;
$custom-light: #c6a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fed",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 264,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.16139,
    "h": 300.7
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#AB7FED
secondary
#E7F2D6
accent
#D80E87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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