#AB6BE9#AB6BE9

#AB6BE9 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.187 H 305.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB6BE9
RGBrgb(171, 107, 233)
HSLhsl(270, 74%, 67%)
HSVhsv(270, 54%, 91%)
CMYKcmyk(26.6%, 54.1%, 0%, 8.6%)
CIE-LABlab(57.13, 49.06, -54.36)
CIE-LCHlch(57.13, 73.23, 312.07°)
OKLaboklab(65.11% 0.1081 -0.1531)
OKLCHoklch(65.11% 0.187 305.2)
XYZxyz(36.7571, 25.0567, 79.9750)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BE9 #A9E96B
analogous
#6C6BE9 #AB6BE9 #E96BE8
triadic
#AB6BE9 #E9AB6B #6BE9AB
tetradic
#AB6BE9 #E96C6B #A9E96B #6BE8E9
square
#AB6BE9 #E96C6B #A9E96B #6BE8E9
split-complementary
#AB6BE9 #E8E96B #6BE96C
monochromatic
#6E1CBD #8D36E1 #AB6BE9 #C9A0F1 #E7D6F9

Accessibility & contrast

On white

3.49
#AB6BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AB6BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BE9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BE9#FFFFFF#000000##000000
##AB6BE91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#5589E6
Tritanopia (blue-blind)
#A183A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6be9;
/* rgb */ color: rgb(171, 107, 233);
/* oklch */ color: oklch(65.1% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#c797f1',
    500: '#ab6be9',
    950: '#000000',
  },
}
SCSS
$custom: #ab6be9;
$custom-light: #c797f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6be9",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 270.476,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65106,
    "c": 0.1874,
    "h": 305.2
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#AB6BE9
secondary
#D8ECC4
accent
#D60F71
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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