#AB6AF4#AB6AF4

#AB6AF4 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.6% C 0.201 H 303.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB6AF4
RGBrgb(171, 106, 244)
HSLhsl(268, 86%, 69%)
HSVhsv(268, 57%, 96%)
CMYKcmyk(29.9%, 56.6%, 0%, 4.3%)
CIE-LABlab(57.56, 52.17, -59.81)
CIE-LCHlch(57.56, 79.36, 311.10°)
OKLaboklab(65.62% 0.1097 -0.169)
OKLCHoklch(65.62% 0.201 303)
XYZxyz(38.2741, 25.4977, 88.4756)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6AF4 #B3F46A
analogous
#6A6EF4 #AB6AF4 #F06AF4
triadic
#AB6AF4 #F4AB6A #6AF4AB
tetradic
#AB6AF4 #F46A6E #B3F46A #6AF4F0
square
#AB6AF4 #F46A6E #B3F46A #6AF4F0
split-complementary
#AB6AF4 #F4F06A #6EF46A
monochromatic
#6C10D4 #8B31F0 #AB6AF4 #CBA3F8 #EBDCFC

Accessibility & contrast

On white

3.44
#AB6AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AB6AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6AF4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6AF4#FFFFFF#000000##000000
##AB6AF41.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#498AF1
Tritanopia (blue-blind)
#9D85A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab6af4;
/* rgb */ color: rgb(171, 106, 244);
/* oklch */ color: oklch(65.6% 0.201 303.0);
Tailwind
colors: {
  custom: {
    50: '#c897f8',
    500: '#ab6af4',
    950: '#000000',
  },
}
SCSS
$custom: #ab6af4;
$custom-light: #c897f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6af4",
  "rgb": {
    "r": 171,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 268.261,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.20148,
    "h": 303
  },
  "luminance": 0.25498
}

Semantic roles & 50–950 ramp

primary
#AB6AF4
secondary
#DEF1C8
accent
#E30379
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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