#AB6BF2#AB6BF2

#AB6BF2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.6% C 0.198 H 303.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB6BF2
RGBrgb(171, 107, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.3%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.64, 51.17, -58.56)
CIE-LCHlch(57.64, 77.77, 311.15°)
OKLaboklab(65.65% 0.1084 -0.1654)
OKLCHoklch(65.65% 0.198 303.3)
XYZxyz(38.0757, 25.5842, 86.9195)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BF2 #B2F26B
analogous
#6B6EF2 #AB6BF2 #EE6BF2
triadic
#AB6BF2 #F2AB6B #6BF2AB
tetradic
#AB6BF2 #F26B6E #B2F26B #6BF2EE
square
#AB6BF2 #F26B6E #B2F26B #6BF2EE
split-complementary
#AB6BF2 #F2EE6B #6EF26B
monochromatic
#6C12D0 #8B33ED #AB6BF2 #CBA3F7 #EBDCFC

Accessibility & contrast

On white

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

On black

6.12
#AB6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BF2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BF2#FFFFFF#000000##000000
##AB6BF21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9E85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6bf2;
/* rgb */ color: rgb(171, 107, 242);
/* oklch */ color: oklch(65.6% 0.198 303.3);
Tailwind
colors: {
  custom: {
    50: '#c898f7',
    500: '#ab6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bf2;
$custom-light: #c898f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bf2",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 268.444,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.19775,
    "h": 303.3
  },
  "luminance": 0.25584
}

Semantic roles & 50–950 ramp

primary
#AB6BF2
secondary
#DDF1C8
accent
#E00578
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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