#AB6BF7#AB6BF7

#AB6BF7 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.0% C 0.203 H 302.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB6BF7
RGBrgb(171, 107, 247)
HSLhsl(267, 90%, 69%)
HSVhsv(267, 57%, 97%)
CMYKcmyk(30.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(57.93, 52.36, -60.87)
CIE-LCHlch(57.93, 80.29, 310.70°)
OKLaboklab(65.95% 0.1085 -0.1721)
OKLCHoklch(65.95% 0.203 302.2)
XYZxyz(38.8369, 25.8887, 90.9286)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BF7 #B7F76B
analogous
#6B71F7 #AB6BF7 #F16BF7
triadic
#AB6BF7 #F7AB6B #6BF7AB
tetradic
#AB6BF7 #F76B71 #B7F76B #6BF7F1
square
#AB6BF7 #F76B71 #B7F76B #6BF7F1
split-complementary
#AB6BF7 #F7F16B #71F76B
monochromatic
#6B0CDC #8A31F4 #AB6BF7 #CCA5FA #EDDFFD

Accessibility & contrast

On white

3.40
#AB6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AB6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BF7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BF7#FFFFFF#000000##000000
##AB6BF71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFC
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#9C87A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6bf7;
/* rgb */ color: rgb(171, 107, 247);
/* oklch */ color: oklch(66.0% 0.203 302.2);
Tailwind
colors: {
  custom: {
    50: '#c898fa',
    500: '#ab6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bf7;
$custom-light: #c898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bf7",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 267.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65952,
    "c": 0.20347,
    "h": 302.2
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#AB6BF7
secondary
#E1F3CB
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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