#AB6BF5#AB6BF5

#AB6BF5 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.8% C 0.201 H 302.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB6BF5
RGBrgb(171, 107, 245)
HSLhsl(268, 87%, 69%)
HSVhsv(268, 56%, 96%)
CMYKcmyk(30.2%, 56.3%, 0%, 3.9%)
CIE-LABlab(57.81, 51.88, -59.95)
CIE-LCHlch(57.81, 79.28, 310.87°)
OKLaboklab(65.83% 0.1085 -0.1694)
OKLCHoklch(65.83% 0.201 302.6)
XYZxyz(38.5300, 25.7659, 89.3119)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BF5 #B5F56B
analogous
#6B70F5 #AB6BF5 #F06BF5
triadic
#AB6BF5 #F5AB6B #6BF5AB
tetradic
#AB6BF5 #F56B70 #B5F56B #6BF5F0
square
#AB6BF5 #F56B70 #B5F56B #6BF5F0
split-complementary
#AB6BF5 #F5F06B #70F56B
monochromatic
#6C0FD7 #8A32F1 #AB6BF5 #CCA4F9 #ECDEFD

Accessibility & contrast

On white

3.41
#AB6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AB6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BF5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BF5#FFFFFF#000000##000000
##AB6BF51.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFA
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#9D86A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6bf5;
/* rgb */ color: rgb(171, 107, 245);
/* oklch */ color: oklch(65.8% 0.201 302.6);
Tailwind
colors: {
  custom: {
    50: '#c898f9',
    500: '#ab6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bf5;
$custom-light: #c898f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bf5",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 267.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.20118,
    "h": 302.6
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#AB6BF5
secondary
#DFF2CA
accent
#E4027B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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