#AB6FF7#AB6FF7

#AB6FF7 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.198 H 301.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB6FF7
RGBrgb(171, 111, 247)
HSLhsl(266, 89%, 70%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(30.8%, 55.1%, 0%, 3.1%)
CIE-LABlab(58.73, 50.25, -59.59)
CIE-LCHlch(58.73, 77.94, 310.14°)
OKLaboklab(66.54% 0.1036 -0.1684)
OKLCHoklch(66.54% 0.198 301.6)
XYZxyz(39.2636, 26.7421, 91.0709)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FF7 #BBF76F
analogous
#6F77F7 #AB6FF7 #EF6FF7
triadic
#AB6FF7 #F7AB6F #6FF7AB
tetradic
#AB6FF7 #F76F77 #BBF76F #6FF7EF
square
#AB6FF7 #F76F77 #BBF76F #6FF7EF
split-complementary
#AB6FF7 #F7EF6F #77F76F
monochromatic
#690CDF #8935F4 #AB6FF7 #CDA9FA #EEE2FD

Accessibility & contrast

On white

3.31
#AB6FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AB6FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FF7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FF7#FFFFFF#000000##000000
##AB6FF71.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#9C8AA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ff7;
/* rgb */ color: rgb(171, 111, 247);
/* oklch */ color: oklch(66.5% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#c89afa',
    500: '#ab6ff7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ff7;
$custom-light: #c89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ff7",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 266.471,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.19771,
    "h": 301.6
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#AB6FF7
secondary
#E3F4CE
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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