#AB76F7#AB76F7

#AB76F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.187 H 300.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB76F7
RGBrgb(171, 118, 247)
HSLhsl(265, 89%, 72%)
HSVhsv(265, 52%, 97%)
CMYKcmyk(30.8%, 52.2%, 0%, 3.1%)
CIE-LABlab(60.19, 46.49, -57.27)
CIE-LCHlch(60.19, 73.76, 309.07°)
OKLaboklab(67.61% 0.0949 -0.1616)
OKLCHoklch(67.61% 0.187 300.4)
XYZxyz(40.0576, 28.3300, 91.3355)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76F7 #C2F776
analogous
#7682F7 #AB76F7 #EC76F7
triadic
#AB76F7 #F7AB76 #76F7AB
tetradic
#AB76F7 #F77682 #C2F776 #76F7EC
square
#AB76F7 #F77682 #C2F776 #76F7EC
split-complementary
#AB76F7 #F7EC76 #82F776
monochromatic
#660DE5 #883CF4 #AB76F7 #CEB0FA #EDE2FD

Accessibility & contrast

On white

3.15
#AB76F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AB76F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76F7#FFFFFF#000000##000000
##AB76F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#9C8FAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab76f7;
/* rgb */ color: rgb(171, 118, 247);
/* oklch */ color: oklch(67.6% 0.187 300.4);
Tailwind
colors: {
  custom: {
    50: '#c79ffa',
    500: '#ab76f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab76f7;
$custom-light: #c79ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76f7",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 264.651,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.1874,
    "h": 300.4
  },
  "luminance": 0.2833
}

Semantic roles & 50–950 ramp

primary
#AB76F7
secondary
#E7F5D4
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB76F7

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

Preview Lab → · Contrast checker → · Palette generator →

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