#AB91F7#AB91F7

#AB91F7 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.1% C 0.146 H 294.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AB91F7
RGBrgb(171, 145, 247)
HSLhsl(255, 86%, 77%)
HSVhsv(255, 41%, 97%)
CMYKcmyk(30.8%, 41.3%, 0%, 3.1%)
CIE-LABlab(66.23, 31.48, -47.68)
CIE-LCHlch(66.23, 57.13, 303.43°)
OKLaboklab(72.14% 0.0599 -0.1336)
OKLCHoklch(72.14% 0.146 294.2)
XYZxyz(43.7043, 35.6234, 92.5511)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91F7 #DDF791
analogous
#91AAF7 #AB91F7 #DE91F7
triadic
#AB91F7 #F7AB91 #91F7AB
tetradic
#AB91F7 #F791AA #DDF791 #91F7DE
square
#AB91F7 #F791AA #DDF791 #91F7DE
split-complementary
#AB91F7 #F7DE91 #AAF791
monochromatic
#541FEF #7F58F3 #AB91F7 #D7CAFB #E9E2FD

Accessibility & contrast

On white

2.58
#AB91F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#AB91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91F7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91F7#FFFFFF#000000##000000
##AB91F71.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#9AA4B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab91f7;
/* rgb */ color: rgb(171, 145, 247);
/* oklch */ color: oklch(72.1% 0.146 294.2);
Tailwind
colors: {
  custom: {
    50: '#c6b1fa',
    500: '#ab91f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab91f7;
$custom-light: #c6b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91f7",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 255.294,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.14642,
    "h": 294.2
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#AB91F7
secondary
#EDF5D6
accent
#E303AA
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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