#AB6EF7#AB6EF7

#AB6EF7 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.199 H 301.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF7
RGBrgb(171, 110, 247)
HSLhsl(267, 90%, 70%)
HSVhsv(267, 55%, 97%)
CMYKcmyk(30.8%, 55.5%, 0%, 3.1%)
CIE-LABlab(58.53, 50.78, -59.91)
CIE-LCHlch(58.53, 78.53, 310.28°)
OKLaboklab(66.39% 0.1049 -0.1693)
OKLCHoklch(66.39% 0.199 301.8)
XYZxyz(39.1551, 26.5251, 91.0347)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF7 #BAF76E
analogous
#6E76F7 #AB6EF7 #EF6EF7
triadic
#AB6EF7 #F7AB6E #6EF7AB
tetradic
#AB6EF7 #F76E76 #BAF76E #6EF7EF
square
#AB6EF7 #F76E76 #BAF76E #6EF7EF
split-complementary
#AB6EF7 #F7EF6E #76F76E
monochromatic
#6A0CDE #8934F4 #AB6EF7 #CDA8FA #EEE2FD

Accessibility & contrast

On white

3.33
#AB6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF7#FFFFFF#000000##000000
##AB6EF71.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#9C89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6ef7;
/* rgb */ color: rgb(171, 110, 247);
/* oklch */ color: oklch(66.4% 0.199 301.8);
Tailwind
colors: {
  custom: {
    50: '#c89afa',
    500: '#ab6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef7;
$custom-light: #c89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef7",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 266.715,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.66393,
    "c": 0.19916,
    "h": 301.8
  },
  "luminance": 0.26525
}

Semantic roles & 50–950 ramp

primary
#AB6EF7
secondary
#E3F4CD
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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