#AB6BE7#AB6BE7

#AB6BE7 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.185 H 305.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB6BE7
RGBrgb(171, 107, 231)
HSLhsl(271, 72%, 66%)
HSVhsv(271, 54%, 91%)
CMYKcmyk(26%, 53.7%, 0%, 9.4%)
CIE-LABlab(57.02, 48.60, -53.42)
CIE-LCHlch(57.02, 72.22, 312.29°)
OKLaboklab(64.99% 0.108 -0.1503)
OKLCHoklch(64.99% 0.185 305.7)
XYZxyz(36.4730, 24.9431, 78.4789)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BE7 #A7E76B
analogous
#6D6BE7 #AB6BE7 #E76BE5
triadic
#AB6BE7 #E7AB6B #6BE7AB
tetradic
#AB6BE7 #E76D6B #A7E76B #6BE5E7
square
#AB6BE7 #E76D6B #A7E76B #6BE5E7
split-complementary
#AB6BE7 #E5E76B #6BE76D
monochromatic
#6E1EBA #8D36DE #AB6BE7 #C9A0F0 #E7D4F8

Accessibility & contrast

On white

3.51
#AB6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AB6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BE7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BE7#FFFFFF#000000##000000
##AB6BE71.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#5689E4
Tritanopia (blue-blind)
#A1829F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6be7;
/* rgb */ color: rgb(171, 107, 231);
/* oklch */ color: oklch(65.0% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#c797ef',
    500: '#ab6be7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6be7;
$custom-light: #c797ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6be7",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 270.968,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64989,
    "c": 0.1851,
    "h": 305.7
  },
  "luminance": 0.24943
}

Semantic roles & 50–950 ramp

primary
#AB6BE7
secondary
#D6EBC3
accent
#D41170
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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