#AB6BF3#AB6BF3

#AB6BF3 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.7% C 0.199 H 303.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB6BF3
RGBrgb(171, 107, 243)
HSLhsl(268, 85%, 69%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.6%, 56%, 0%, 4.7%)
CIE-LABlab(57.70, 51.41, -59.03)
CIE-LCHlch(57.70, 78.28, 311.05°)
OKLaboklab(65.71% 0.1085 -0.1667)
OKLCHoklch(65.71% 0.199 303)
XYZxyz(38.2263, 25.6444, 87.7126)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BF3 #B3F36B
analogous
#6B6FF3 #AB6BF3 #EF6BF3
triadic
#AB6BF3 #F3AB6B #6BF3AB
tetradic
#AB6BF3 #F36B6F #B3F36B #6BF3EF
square
#AB6BF3 #F36B6F #B3F36B #6BF3EF
split-complementary
#AB6BF3 #F3EF6B #6FF36B
monochromatic
#6C11D3 #8B32EE #AB6BF3 #CBA4F8 #EBDCFC

Accessibility & contrast

On white

3.43
#AB6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AB6BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BF3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BF3#FFFFFF#000000##000000
##AB6BF31.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F7
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#9E86A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab6bf3;
/* rgb */ color: rgb(171, 107, 243);
/* oklch */ color: oklch(65.7% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#c898f8',
    500: '#ab6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bf3;
$custom-light: #c898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bf3",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 268.235,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65706,
    "c": 0.19889,
    "h": 303
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#AB6BF3
secondary
#DEF1C9
accent
#E10479
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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