#AB7FEE#AB7FEE

#AB7FEE is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.163 H 300.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#AB7FEE
RGBrgb(171, 127, 238)
HSLhsl(264, 77%, 72%)
HSVhsv(264, 47%, 93%)
CMYKcmyk(28.2%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.66, 39.36, -49.94)
CIE-LCHlch(61.66, 63.59, 308.24°)
OKLaboklab(68.56% 0.0825 -0.1402)
OKLCHoklch(68.56% 0.163 300.5)
XYZxyz(39.8130, 30.0095, 84.5673)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FEE #C2EE7F
analogous
#7F8BEE #AB7FEE #E37FEE
triadic
#AB7FEE #EEAB7F #7FEEAB
tetradic
#AB7FEE #EE7F8B #C2EE7F #7FEEE3
square
#AB7FEE #EE7F8B #C2EE7F #7FEEE3
split-complementary
#AB7FEE #EEE37F #8BEE7F
monochromatic
#661CD6 #8849E7 #AB7FEE #CEB5F5 #EDE4FB

Accessibility & contrast

On white

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

On black

7.00
#AB7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB7FEE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FEE#FFFFFF#000000##000000
##AB7FEE1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7fee;
/* rgb */ color: rgb(171, 127, 238);
/* oklch */ color: oklch(68.6% 0.163 300.5);
Tailwind
colors: {
  custom: {
    50: '#c6a5f4',
    500: '#ab7fee',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fee;
$custom-light: #c6a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fee",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 263.784,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68558,
    "c": 0.16264,
    "h": 300.5
  },
  "luminance": 0.3001
}

Semantic roles & 50–950 ramp

primary
#AB7FEE
secondary
#E7F3D6
accent
#D90D88
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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